mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 08:46:16 +02:00
6a8de4c9dc
As an optimisation for LocalStore, we read all the store directory entries into a set. Checking for membership of this set is much faster than a stat syscall. However for LocalOverlayStore, the lower store directory is expected to contain a vast number of entries and reading them all can take a very long time. So instead of enumerating them all upfront, we call pathExists as needed. This means making stat syscalls for each store path, but the upper layer is expected to be relatively small compared to the lower store so that should be okay. |
||
---|---|---|
.. | ||
add-lower-inner.sh | ||
add-lower.sh | ||
bad-uris.sh | ||
build-inner.sh | ||
build.sh | ||
check-post-init-inner.sh | ||
check-post-init.sh | ||
common.sh | ||
delete-duplicate-inner.sh | ||
delete-duplicate.sh | ||
delete-refs-inner.sh | ||
delete-refs.sh | ||
gc-inner.sh | ||
gc.sh | ||
local.mk | ||
optimise-inner.sh | ||
optimise.sh | ||
redundant-add-inner.sh | ||
redundant-add.sh | ||
remount.sh | ||
verify-inner.sh | ||
verify.sh |