diff options
author | Wout Mertens <Wout.Mertens@gmail.com> | 2014-05-13T21·10+0200 |
---|---|---|
committer | Wout Mertens <Wout.Mertens@gmail.com> | 2014-05-13T21·10+0200 |
commit | e974f20c9811c3efe09cfca9bda7816f9091c0d5 (patch) | |
tree | 57af68bc138ef6ad6cf72ec5f21dc1f06516dbc3 /src/libexpr/value-to-json.hh | |
parent | a84f503d863fd77de9b6ecf149399c2ca7642b75 (diff) |
Preload linked hashes to speed up lookups
By preloading all inodes in the /nix/store/.links directory, we can quickly determine of a hardlinked file was already linked to the hashed links. This is tolerant of removing the .links directory, it will simply recalculate all hashes in the store.
Diffstat (limited to 'src/libexpr/value-to-json.hh')
0 files changed, 0 insertions, 0 deletions