about summary refs log tree commit diff
path: root/src/libstore/remote-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-23T19·48-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-23T21·14-0400
commit680ab6f83def2b636200204542ca352631a46f85 (patch)
tree694160fd33f18648bf2c2c5ca4754a2dd20f6024 /src/libstore/remote-store.cc
parent619310571002fc74e428824bd603604d1055b61b (diff)
Garbage collect unused links in /nix/store/.links
Incremental optimisation requires creating links in /nix/store/.links
to all files in the store.  However, this means that if we delete a
store path, no files are actually deleted because links in
/nix/store/.links still exists.  So we need to check /nix/store/.links
for files with a link count of 1 and delete them.
Diffstat (limited to 'src/libstore/remote-store.cc')
0 files changed, 0 insertions, 0 deletions