Documentation
¶
Overview ¶
Package cow materializes a file as a copy-on-write copy of another.
On filesystems that support block-level reflink (APFS on macOS, btrfs/xfs-with-reflink/bcachefs on Linux) the clone is near-instant and uses zero extra storage until one side diverges. On filesystems that don't support it — ext4, tmpfs, NFS — Clone falls back to a sparse-preserving byte copy.
The primary consumer is machine/oci, which needs every Machine to get its own writable disk without mutating the shared pull cache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.