Skip to main content

reflink_file

Function reflink_file 

Source
pub fn reflink_file(src: &str, dst: &str) -> Result<()>
Expand description

Reflink src to dst (FICLONE), no fallback. Fails on filesystems without reflink (ext4, tmpfs) and across filesystems (EXDEV); the caller decides where the working copy should live in that case.