about summary refs log tree commit diff
path: root/src/nix-log2xml/treebits.js
diff options
context:
space:
mode:
authorwmertens <Wout.Mertens@gmail.com>2014-05-10T13·53+0200
committerwmertens <Wout.Mertens@gmail.com>2014-05-10T13·53+0200
commita84f503d863fd77de9b6ecf149399c2ca7642b75 (patch)
treeea6d6053aea32d5667b8686e50e118119f3b8969 /src/nix-log2xml/treebits.js
parentaa9b1cf48e6482a74dcc19e6aef1d8236b57abe4 (diff)
Shortcut already-hardlinked files
If an inode in the Nix store has more than 1 link, it probably means that it was linked into .links/ by us. If so, skip.

There's a possibility that something else hardlinked the file, so it would be nice to be able to override this.

Also, by looking at the number of hardlinks for each of the files in .links/, you can get deduplication numbers and space savings.
Diffstat (limited to 'src/nix-log2xml/treebits.js')
0 files changed, 0 insertions, 0 deletions