1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

CanonPath: Support std::hash

This commit is contained in:
Eelco Dolstra 2023-12-06 13:45:59 +01:00
parent 83c067c0fa
commit 504e4fc457
2 changed files with 12 additions and 1 deletions

View file

@ -554,7 +554,7 @@ struct GitInputAccessor : InputAccessor
return toHash(*git_tree_entry_id(entry));
}
std::map<CanonPath, TreeEntry> lookupCache;
std::unordered_map<CanonPath, TreeEntry> lookupCache;
/* Recursively look up 'path' relative to the root. */
git_tree_entry * lookup(const CanonPath & path)