diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-10-04 13:47:38 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-10-04 13:47:38 +0200 |
commit | ef34fd0656e844ccc54fd105cdda9970d7e944b4 (patch) | |
tree | d3ee00dc5a43305a7ca30d797f3e7dbe59842e90 /src/libstore/references.hh | |
parent | 172b7f266cef81e0e05827cae09f1ee11703be95 (diff) |
scanForReferences(): Use a StorePathSet
Diffstat (limited to 'src/libstore/references.hh')
-rw-r--r-- | src/libstore/references.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/references.hh b/src/libstore/references.hh index 4f12e6b21..73e674109 100644 --- a/src/libstore/references.hh +++ b/src/libstore/references.hh @@ -1,13 +1,13 @@ #pragma once -#include "types.hh" #include "hash.hh" +#include "path.hh" namespace nix { -std::pair<PathSet, HashResult> scanForReferences(const Path & path, const PathSet & refs); +std::pair<StorePathSet, HashResult> scanForReferences(const Path & path, const StorePathSet & refs); -PathSet scanForReferences(Sink & toTee, const Path & path, const PathSet & refs); +StorePathSet scanForReferences(Sink & toTee, const Path & path, const StorePathSet & refs); struct RewritingSink : Sink { |