mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
scanForReferences(): Use a StorePathSet
This commit is contained in:
parent
172b7f266c
commit
ef34fd0656
3 changed files with 20 additions and 24 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue