package stdune
Module Path.SourceSource
In the source section of the current workspace.
a directory is smaller than its descendants
include Comparator.S with type t := t
set_extension path ~ext replaces extension of path by ext
Source
val map_extension :
t ->
f:(Filename.Extension.Or_empty.t -> Filename.Extension.Or_empty.t) ->
tmap_extension path ~f replaces extension of path by f extension
Source.t does not statically forbid overlap with build directory, even though having such paths is almost always an error.