aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/content-address.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 19:02:45 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 19:02:45 -0400
commit668377f217c0fa4053d746f7094dfe887e07887c (patch)
tree40f1f7cc892b5f1bde41f1a2d105574c0bb5a716 /src/libstore/content-address.hh
parentf56c4a5bdfb0ec881b8cb0c06940abbea71b5f2b (diff)
`TextHashMethod` -> `TextIngestionMethod`, gate with XP feature
I suppose we can use `dynamic-derivations` for the few things we neeed.
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 962b63e83..8668acacf 100644
--- a/src/libstore/content-address.hh
+++ b/src/libstore/content-address.hh
@@ -22,7 +22,7 @@ namespace nix {
* Somewhat obscure, used by \ref Derivation derivations and
* `builtins.toFile` currently.
*/
-struct TextHashMethod : std::monostate { };
+struct TextIngestionMethod : std::monostate { };
/**
* An enumeration of the main ways we can serialize file system
@@ -57,7 +57,7 @@ std::string makeFileIngestionPrefix(FileIngestionMethod m);
struct ContentAddressMethod
{
typedef std::variant<
- TextHashMethod,
+ TextIngestionMethod,
FileIngestionMethod
> Raw;