Module Fs.FileSource

Sourcetype t = file
Sourceval create : directory:Directory.t -> name:string -> t
Sourceval dirname : t -> Directory.t
Sourceval basename : t -> t
Sourceval append : Directory.t -> t -> t
Sourceval set_ext : string -> t -> t
Sourceval has_ext : string -> t -> bool
Sourceval get_ext : t -> string
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval segs : t -> string list
Sourceval read : t -> (string, [> Or_error.msg ]) Or_error.result
Sourceval exists : t -> bool
Sourcemodule Table : Hashtbl.S with type key = t