Skip to main content

cow_copy

Function cow_copy 

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

COW-aware file copy (uses reflink when the filesystem supports it, falls back to a regular copy). Carved out of the main crate’s git::ops with the training checkpoint path — its only caller.