Module Fs.DirectorySource

Sourceval dirname : t -> t
Sourceval basename : t -> t
Sourceval append : t -> t -> t
Sourceval reach_from : dir:t -> string -> t
Sourceval contains : parentdir:t -> file -> bool
Sourceval compare : t -> t -> int
Sourceval mkdir_p : t -> unit
Sourceval of_file : file -> t
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval to_fpath : t -> Fpath.t
Sourceval fold_files_rec : ?ext:string -> ('a -> file -> 'a) -> 'a -> t -> 'a

fold_files_rec_result ~ext f acc d recursively folds f over the files with extension matching ext (defaults to "") contained in d and its sub directories.

Sourceval fold_files_rec_result : ?ext:string -> ('a -> file -> ('a, Or_error.msg) Or_error.result) -> 'a -> t -> ('a, [> Or_error.msg ]) Or_error.result

fold_files_rec_result ~ext f acc d recursively folds f over the files with extension matching ext (defaults to "") contained in d and its sub directories. Stop as soon as f returns Error _.

Sourcemodule Table : Hashtbl.S with type key = t