Path.Buildtype t = w Local_gen.tval hash : t -> intval to_string : t -> stringval of_string : string -> tval parse_string_exn : loc:Stdune__.Loc0.t -> string -> ta directory is smaller than its descendants
include Comparator.S with type t := tval compare : t -> t -> Ordering.tval extension : t -> stringmap_extension path ~f replaces extension of path by f extension
val basename : t -> Filename.tval basename_opt : t -> Filename.t optionval extend_basename : t -> suffix:Filename.t -> tmodule Set : sig ... endval to_string_maybe_quoted : t -> stringval is_root : t -> boolval root : tmodule L : sig ... endval split_first_component : t -> (Filename.t * Local.t) optionval explode : t -> Filename.t listval extract_build_context : t -> (Filename.t * Source.t) optionSource.t here is a lie in some cases: consider when the context name happens to be "install" or ".alias".
val extract_build_context_exn : t -> Filename.t * Source.tval extract_first_component : t -> (Filename.t * Local.t) optionThis function does the same as extract_build_context, but has a "righter" type.
val set_build_dir : Outside_build_dir.t -> unitSet the build directory. Can only be called once and must be done before paths are converted to strings elsewhere.
val chmod : t -> mode:int -> unitSet permissions for a given path. You can use the Permissions module if you need to modify existing permissions in a non-trivial way.
val lstat : t -> Unix.statsval unlink : t -> Fpath.unlink_statusval unlink_no_err : t -> unit