Module Down_std.Dir

Directories

val config : unit -> (string, string) Stdlib.result

config () is the directory used to store user-specific program configuration.

val create : string -> (unit, string) Stdlib.result

create dir creates directory dir.

val exists : string -> (bool, string) Stdlib.result

exists dir is true if dir exists as a directory.

val contents : string -> (string list, string) Stdlib.result

contents dir is the directory contents of dir.