package stdune
Module Path.BuildSource
a directory is smaller than its descendants
include Comparator.S with type t := t
set_extension path ~ext replaces extension of path by ext
map_extension path ~f replaces extension of path by f extension
Source.t here is a lie in some cases: consider when the context name happens to be "install" or ".alias".
This function does the same as extract_build_context, but has a "righter" type.
Set the build directory. Can only be called once and must be done before paths are converted to strings elsewhere.
Set permissions for a given path. You can use the Permissions module if you need to modify existing permissions in a non-trivial way.