This is part of the Fake.IO.FileSystem module.
Function or value | Description |
Directory.create
Signature: string -> unit
|
Creates a directory if it does not exist.
|
Directory.delete(path)
Signature: path:string -> unit
|
Deletes a directory if it exists (including all contained elements).
|
Directory.ensure(dir)
Signature: dir:string -> unit
Modifiers: inline
|
Checks if the given directory exists. If not then this functions creates the directory.
|
Directory.findFirstMatchingFile(...)
Signature: pattern:string -> dir:string -> string
|
Gets the first file in the directory matching the search pattern or throws an error if nothing was found.
|
Directory.tryFindFirstMatchingFile(...)
Signature: pattern:string -> dir:string -> string option
|
Gets the first file in the directory matching the search pattern as an option value.
|