Module Sesame.Path
Path Mangling Utilities
val change_filename : ?keep_path:bool -> Fpath.t -> (string -> string) -> Fpath.t
change_file path rename
changes the filename ofpath
. The optionalkeep_path
tells the function whether or not to keep the rest of the filepath or just return the modified filename