stdune

Dune's unstable standard library
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library stdune.filesystem_stubs
module Unix_error : sig ... end

Auxiliary functions for working with Unix errors.

module File_kind : sig ... end

Auxiliary functions for working with Unix file kinds.

val read_directory_with_kinds : string -> ( (string * File_kind.t) list, Unix_error.Detailed.t ) Result.t

read_directory_with_kinds is similar to Sys.readdir, while additionally returning kinds of the filesystem entries.

val read_directory : string -> ( string list, Unix_error.Detailed.t ) Result.t

read_directory_with_kinds d returns all the filesystem entries in d except for "." and "..", similar to Sys.readdir.