aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path.hh
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-06-17 15:03:05 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2020-06-17 15:03:05 -0400
commit5e631e3304aaf00b912c12025debfd35942a0ca9 (patch)
tree5e504e4312f17ee1f12411bd8b979d6d53b5c192 /src/libstore/path.hh
parentbe50de1142b0600afebde32130e8561e28b63b41 (diff)
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.
Diffstat (limited to 'src/libstore/path.hh')
-rw-r--r--src/libstore/path.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/path.hh b/src/libstore/path.hh
index aaebd3ec3..91962d114 100644
--- a/src/libstore/path.hh
+++ b/src/libstore/path.hh
@@ -62,6 +62,8 @@ public:
typedef std::set<StorePath> StorePathSet;
typedef std::vector<StorePath> StorePaths;
+typedef std::map<StorePath, std::optional<std::string>> StorePathCAMap;
+
/* Extension of derivations in the Nix store. */
const std::string drvExtension = ".drv";