Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
path-references.hh
Go to the documentation of this file.
1#pragma once
3
4#include "references.hh"
5#include "path.hh"
6
7namespace nix {
8
9std::pair<StorePathSet, HashResult> scanForReferences(const Path & path, const StorePathSet & refs);
10
11StorePathSet scanForReferences(Sink & toTee, const Path & path, const StorePathSet & refs);
12
13class PathRefScanSink : public RefScanSink
14{
15 std::map<std::string, StorePath> backMap;
16
17 PathRefScanSink(StringSet && hashes, std::map<std::string, StorePath> && backMap);
18
19public:
20
21 static PathRefScanSink fromPaths(const StorePathSet & refs);
22
23 StorePathSet getResultPaths();
24};
25
26}
Definition serialise.hh:20
std::string Path
Definition types.hh:22