mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 21:16:02 +01:00
Add StorePathCAMap for querySubstitutablePathInfos
I’m not 100% sure this is wanted since it kind of makes everything have to know about ca even if they don’t really want to. But it also make things easier in dealing with looking up ca.
This commit is contained in:
parent
be50de1142
commit
5e631e3304
8 changed files with 31 additions and 30 deletions
|
|
@ -445,8 +445,8 @@ public:
|
|||
/* Query substitute info (i.e. references, derivers and download
|
||||
sizes) of a set of paths. If a path does not have substitute
|
||||
info, it's omitted from the resulting ‘infos’ map. */
|
||||
virtual void querySubstitutablePathInfos(const StorePathSet & paths,
|
||||
SubstitutablePathInfos & infos, std::map<std::string, std::string> pathsCA = {}) { return; };
|
||||
virtual void querySubstitutablePathInfos(const StorePathCAMap & paths,
|
||||
SubstitutablePathInfos & infos) { return; };
|
||||
|
||||
/* Import a path into the store. */
|
||||
virtual void addToStore(const ValidPathInfo & info, Source & narSource,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue