include sig ... end
include module type of struct include Fpath end
val is_seg : string -> bool
val is_rel_seg : string -> bool
val v : string -> Fpath.t
val add_seg : Fpath.t -> string -> Fpath.t
val (/) : Fpath.t -> string -> Fpath.t
val append : Fpath.t -> Fpath.t -> Fpath.t
val (//) : Fpath.t -> Fpath.t -> Fpath.t
val split_volume : Fpath.t -> string * Fpath.t
val segs : Fpath.t -> string list
val is_dir_path : Fpath.t -> bool
val is_file_path : Fpath.t -> bool
val to_dir_path : Fpath.t -> Fpath.t
val filename : Fpath.t -> string
val split_base : Fpath.t -> Fpath.t * Fpath.t
val base : Fpath.t -> Fpath.t
val basename : Fpath.t -> string
val parent : Fpath.t -> Fpath.t
val rem_empty_seg : Fpath.t -> Fpath.t
val normalize : Fpath.t -> Fpath.t
val is_prefix : Fpath.t -> Fpath.t -> bool
val find_prefix : Fpath.t -> Fpath.t -> Fpath.t option
val rem_prefix : Fpath.t -> Fpath.t -> Fpath.t option
val relativize : root:Fpath.t -> Fpath.t -> Fpath.t option
val is_rooted : root:Fpath.t -> Fpath.t -> bool
val is_rel : Fpath.t -> bool
val is_abs : Fpath.t -> bool
val is_root : Fpath.t -> bool
val is_current_dir : ?prefix:bool -> Fpath.t -> bool
val is_parent_dir : ?prefix:bool -> Fpath.t -> bool
val is_dotfile : Fpath.t -> bool
val to_string : Fpath.t -> string
val of_string : string -> (Fpath.t, [ `Msg of string ]) Stdlib.result
val pp : Stdlib.Format.formatter -> Fpath.t -> unit
val dump : Stdlib.Format.formatter -> Fpath.t -> unit
val get_ext : ?multi:bool -> Fpath.t -> ext
val has_ext : ext -> Fpath.t -> bool
val mem_ext : ext list -> Fpath.t -> bool
val exists_ext : ?multi:bool -> Fpath.t -> bool
val add_ext : ext -> Fpath.t -> Fpath.t
val rem_ext : ?multi:bool -> Fpath.t -> Fpath.t
val set_ext : ?multi:bool -> ext -> Fpath.t -> Fpath.t
val split_ext : ?multi:bool -> Fpath.t -> Fpath.t * ext
val (+) : Fpath.t -> ext -> Fpath.t
val (-+) : Fpath.t -> ext -> Fpath.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val compare : t -> t -> int
val equal : t -> t -> bool
val seeded_hash : int -> t -> int
This module is re-exported as part of the Fpath
module. For example: Fpath.classify
.
val classify : Fpath.t -> [ `Absolute of Fpath.t | `Relative of Fpath.t ]