package stog

  1. Overview
  2. Docs

Document paths.

exception Invalid of string
val invalid : string -> 'a
type path = {
  1. path : string list;
  2. path_absolute : bool;
}
module Map : Map.S with type key = path
module Set : Set.S with type elt = path
val path : string list -> bool -> path
val compare : path -> path -> int
val append : path -> string list -> path
val chop_extension : path -> path option
val to_string : path -> string
val of_string : string -> path
val parent : path -> path
OCaml

Innovation. Community. Security.