Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Locate files and directories within a DataKit tree.
A path
identifies a file or directory (relative to some other directory). No component may be empty or contain a '/' character. "." and ".." steps are not permitted in a path.
val empty : t
The empty path.
val of_steps : string list -> (t, string) Result.result
Converts a list of the form "a"; "b"; "c"
to a path.
val of_steps_exn : string list -> t
Converts a list of the form "a"; "b"; "c"
to a path.
val of_string : string -> (t, string) Result.result
Converts a path of the form "a/b/c"
to a path.
val of_string_exn : string -> t
val unwrap : t -> string list
Cast to a list of strings
val to_hum : t -> string
Convert to a string, in the same format as pp
.
val basename : t -> string option
basename t
is t
's basename.
module Infix : sig ... end