Module Resource


module Resource: sig .. end

type resource_pattern 
type env 
module Resources: Set.S  with type elt = t
module Cache: sig .. end
val digest : Pathname.t -> string
val exists_in_source_dir : Pathname.t -> bool
val exists_in_build_dir : Pathname.t -> bool
val in_build_dir : Pathname.t -> Pathname.t
val in_source_dir : Pathname.t -> Pathname.t
val clean_up_links : bool Slurp.entry -> bool Slurp.entry
val compare : Pathname.t -> Pathname.t -> int
val print : Format.formatter -> Pathname.t -> unit
val print_pattern : Format.formatter -> resource_pattern -> unit
val clean : Pathname.t -> unit
val import : string -> Pathname.t
val import_pattern : string -> resource_pattern
val matchit : resource_pattern -> Pathname.t -> env option
val subst : env -> Pathname.t -> Pathname.t
val subst_any : env -> Pathname.t -> Pathname.t
val subst_pattern : env -> resource_pattern -> Pathname.t
val print_env : Format.formatter -> env -> unit