Module Fs.DirectorySource

Sourceval dirname : t -> t
Sourceval basename : t -> t
Sourceval append : t -> t -> t
Sourceval reach_from : dir:t -> string -> t
Sourceval mkdir_p : t -> unit
Sourceval of_string : string -> t
Sourceval to_string : t -> string
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