Module Url.Path

type kind = [
| `Module
| `Page
| `LeafPage
| `ModuleType
| `Argument
| `Class
| `ClassType
| `File
]
val pp_kind : Format.formatter -> kind -> unit
val string_of_kind : kind -> string
type t = {
kind : kind;
parent : t option;
name : string;
}
val from_identifier : [< source ] -> t
val to_list : t -> (kind * string) list
val of_list : (kind * string) list -> t option
val split : is_dir:(kind -> bool) -> (kind * string) list -> (kind * string) list * (kind * string) list