Module path_resolution

Module path_resolution 

Source
Expand description

Rsync-compatible path and trailing-slash resolution.

Structs§

ResolvedCopyTask
A resolved copy task mapping a source root to a destination root.

Functions§

path_has_trailing_slash
Checks if a path string ends with a directory terminator (/, \, /., or \.).
resolve_tasks
Resolves a list of CLI paths (sources… destination) into discrete copy tasks.