aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/content-address.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-19 14:48:53 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-19 15:00:04 -0400
commit7103c6da705c8a18fef9e8f8d404e8d0ab5082ff (patch)
tree53a6fb861243b174292a5d0177fab364461d8de9 /src/libstore/content-address.hh
parentaba8a8a83a89d577769a39a69e9b90e3ed0d4f82 (diff)
Remove references from fixed output derivation ab syntax
In other words, use a plain `ContentAddress` not `ContentAddressWithReferences` for `DerivationOutput::CAFixed`. Supporting fixed output derivations with (fixed) references would be a cool feature, but it is out of scope at this moment.
Diffstat (limited to 'src/libstore/content-address.hh')
-rw-r--r--src/libstore/content-address.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/content-address.hh b/src/libstore/content-address.hh
index eb01e9ce4..b25e6d49d 100644
--- a/src/libstore/content-address.hh
+++ b/src/libstore/content-address.hh
@@ -177,6 +177,8 @@ struct ContentAddress
ContentAddressMethod getMethod() const;
const Hash & getHash() const;
+
+ std::string printMethodAlgo() const;
};
std::string renderContentAddress(std::optional<ContentAddress> ca);
@@ -286,8 +288,6 @@ struct ContentAddressWithReferences
ContentAddressMethod getMethod() const;
Hash getHash() const;
-
- std::string printMethodAlgo() const;
};
}