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;
}
type source = [
Odoc_model.Paths.Identifier.Page.t
Odoc_model.Paths.Identifier.Signature.t
Odoc_model.Paths.Identifier.ClassSignature.t
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