Expand description
Link-mode selection: how a file from the content-addressed store is materialized into an install directory.
Priority: an explicit mode is honored (with graceful fallback on error);
otherwise Auto picks the fastest same-filesystem option (hardlink, then
reflink), and falls back to copy across filesystems. We never auto-select
symlink: it breaks on Windows without privilege and confuses tools that
realpath their own executable.
Enums§
Functions§
- materialize
- Materialize
src(a store blob) atdstusing the requested mode. - same_
filesystem - Whether two paths live on the same filesystem (device id compare on Unix). On Windows we compare the volume prefix as a best-effort heuristic.