Nix
2.93.0-dev
Lix: A modern, delicious implementation of the Nix 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 "
lix/libutil/references.hh
"
5
#include "
lix/libstore/path.hh
"
6
7
namespace
nix {
8
9
std::pair<StorePathSet, HashResult> scanForReferences(
const
Path & path,
const
StorePathSet & refs);
10
11
StorePathSet scanForReferences(Sink & toTee,
const
Path & path,
const
StorePathSet & refs);
12
13
class
PathRefScanSink
:
public
RefScanSink
14
{
15
std::map<std::string, StorePath> backMap;
16
17
PathRefScanSink
(StringSet && hashes, std::map<std::string, StorePath> && backMap);
18
19
public
:
20
21
static
PathRefScanSink
fromPaths(
const
StorePathSet & refs);
22
23
StorePathSet getResultPaths();
24
};
25
26
}
nix::PathRefScanSink
Definition
path-references.hh:14
nix::RefScanSink
Definition
references.hh:9
path.hh
references.hh
lix
libstore
path-references.hh
Generated by
1.10.0