Module B0.Meta.Fpath.Map

module Map: sig .. end
Map file paths to metadata.

type meta = t 
The type for file path metadata.
type t = meta 
The type for maps from file paths to metadata.
val empty : t
empty is the empty map.
val mem : B0.Fpath.t -> 'a key -> t -> bool
mem p k m is true iff path p has a binding for k in m.
val add : B0.Fpath.t -> 'a key -> 'a -> t -> t
add p k v m adds key k with value v to p's metadata in m.
val rem : B0.Fpath.t -> 'a key -> t -> t
rem p k m removes the key k from p's metadata in m.
val find : B0.Fpath.t -> 'a key -> t -> 'a option
find p k m is the value of p's metadata key k in m.
val get : B0.Fpath.t -> 'a key -> t -> 'a
get p k m is like B0.Meta.Fpath.Map.find but
Raises Invalid_argument if k is no in m.
val get_all : B0.Fpath.t -> t -> meta
get_all p m is all the metadata for p in m.