Structs§
- CpConfig
- Configuration for a cp invocation.
Enums§
- Backup
Mode - Backup strategy, following GNU
--backupsemantics. - Deref
Mode - How to dereference (follow) symbolic links.
- Reflink
Mode - Reflink (copy-on-write clone) strategy.
- Sparse
Mode - Sparse file copy strategy.
Functions§
- apply_
no_ preserve - Parse a
--no-preserve=LISTattribute list. Unsets the corresponding flags. - apply_
preserve - Parse a
--preserve[=LIST]attribute list. - copy_
file - Copy a single file (or symlink) from
srctodst. - parse_
backup_ mode - Parse a
--backup=CONTROLvalue. - parse_
reflink_ mode - Parse a
--reflink[=WHEN]value. - parse_
sparse_ mode - Parse a
--sparse=WHENvalue. - run_cp
- Determine the effective destination and perform the copy.