1
1
Fork 0
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:
Eelco Dolstra 2021-10-04 13:47:38 +02:00
parent 172b7f266c
commit ef34fd0656
3 changed files with 20 additions and 24 deletions

View file

@ -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
{