jon.recoil.org

Module Fs.FileSource

Sourceval create : directory:Odoc_odoc.Fs.Directory.t -> name:string -> Odoc_odoc.Fs.File.t
Sourceval has_ext : string -> Odoc_odoc.Fs.File.t -> bool
Sourceval get_ext : Odoc_odoc.Fs.File.t -> string
Sourceval of_string : string -> Odoc_odoc.Fs.File.t
Sourceval to_string : Odoc_odoc.Fs.File.t -> string
Sourceval exists : Odoc_odoc.Fs.File.t -> bool
Sourceval of_segs : string list -> Odoc_odoc.Fs.File.t

of_segs segs Returns an absolute path if segs starts with an empty segment. Raises Invalid_argument if segs is empty.