val is_seg : string -> boolval is_rel_seg : string -> boolval add_seg : t -> string -> tval (/) : t -> string -> tval split_volume : t -> string * tval segs : t -> string listval is_dir_path : t -> boolval is_file_path : t -> boolval filename : t -> stringval split_base : t -> t * tval basename : t -> stringval rem_empty_seg : t -> tval is_prefix : t -> t -> boolval find_prefix : t -> t -> t optionval rem_prefix : t -> t -> t optionval relativize : root:t -> t -> t optionval is_rooted : root:t -> t -> boolval is_current_dir : ?prefix:bool -> t -> boolval is_parent_dir : ?prefix:bool -> t -> boolval is_dotfile : t -> boolval equal : t -> t -> boolval compare : t -> t -> intval to_string : t -> stringval of_string : string -> (t, [ `Msg of string ]) resultval get_ext : ?multi:bool -> t -> extval has_ext : ext -> t -> boolval mem_ext : ext list -> t -> boolval exists_ext : ?multi:bool -> t -> boolval add_ext : ext -> t -> tval rem_ext : ?multi:bool -> t -> tval set_ext : ?multi:bool -> ext -> t -> tval split_ext : ?multi:bool -> t -> t * ext