aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-30 10:12:44 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-30 10:14:03 -0500
commit02e745ba5b3dca3b53d88a49d86f5b22d047a08d (patch)
treed1427c04c97730eac797ed8e9f6614f3c2da0850 /src/libstore/store-api.hh
parenta31d7d4e5e5eeeb7ca12ca798dc383045e5be1a1 (diff)
Separate `path.hh` from `content-address.hh`
It is good to separate concerns; `StorePath` (in general) has nothing to do with `ContentAddress` anyways. This reduces the diff from #3746.
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r--src/libstore/store-api.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index 5807392a7..4d8db3596 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -87,6 +87,8 @@ enum BuildMode { bmNormal, bmRepair, bmCheck };
struct BuildResult;
+typedef std::map<StorePath, std::optional<ContentAddress>> StorePathCAMap;
+
struct StoreConfig : public Config
{
using Config::Config;