diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-11T14·43-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-11T14·43-0400 |
commit | eb3036da87659fe7cf384c2362e7f7b8b67189a1 (patch) | |
tree | 71ed5ae7af671986676f87e7e913355d093ed8da /src/libstore/store-api.hh | |
parent | 6586414bc70c8373faefd49afc5172881f3aad53 (diff) |
Implement querySubstitutablePathInfos() in the daemon
Also removed querySubstitutablePathInfo().
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 92b2ddb1e730..37b44d4dac7d 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -145,11 +145,9 @@ public: /* Query whether a path has substitutes. */ virtual bool hasSubstitutes(const Path & path) = 0; - /* Query the references, deriver and download size of a - substitutable path. */ - virtual bool querySubstitutablePathInfo(const Path & path, - SubstitutablePathInfo & info) = 0; - + /* 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 PathSet & paths, SubstitutablePathInfos & infos) = 0; |