Skip to main content

Module mv

Module mv 

Source

Structs§

MvConfig
Configuration for mv operations.

Enums§

BackupMode
Backup mode for destination files.

Functions§

make_backup_name
Generate a backup file name for a given destination path.
mv_file
Move a single file or directory from src to dst.
parse_backup_mode
Parse a backup control string (from –backup=CONTROL or VERSION_CONTROL env).
strip_trailing_slashes
Strip trailing slashes from a path string, returning the cleaned string.