summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-25 20:11:08 +0100
committertv <tv@krebsco.de>2026-10-25 20:11:08 +0100
commitdebd4355eb9d9d1bd2f69e37e2d5a9a18f3585d4 (patch)
treed268b638ab180c49c4d6bc8ff6d6df3f02b41588 /src
parent0fdfe7d6f35b1914f901c710b23f88c64773fa90 (diff)
build_genesis -> remake_genesis (fixup)
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
-rw-r--r--src/remake/kind.rs2
-rw-r--r--src/remake/mod.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 8e1a07c..eb252c7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -143,7 +143,7 @@ async fn main() -> Result<()> {
};
let mut initial_doc = initial_doc;
if let Some(spec) = &args.remake {
- remake::build_genesis(spec, &files, &mut initial_doc)
+ remake::remake_genesis(spec, &files, &mut initial_doc)
.with_context(|| format!("Making the genesis document (--remake {spec})"))?;
info!(remake = %spec, "Made the genesis document");
}
diff --git a/src/remake/kind.rs b/src/remake/kind.rs
index 2b24422..42bdd88 100644
--- a/src/remake/kind.rs
+++ b/src/remake/kind.rs
@@ -101,7 +101,7 @@ pub(crate) fn by_name(name: &str) -> Option<&'static dyn RemakeKind> {
/// and protocol data);
/// * `replace:PATH`: a JSON document, the store root;
/// * `compact`: nothing (an empty document compacts to itself).
-pub(crate) fn build_genesis(
+pub(crate) fn remake_genesis(
spec: &str,
files: &Files,
target: &mut AutoCommit,
diff --git a/src/remake/mod.rs b/src/remake/mod.rs
index ca11cd4..9085475 100644
--- a/src/remake/mod.rs
+++ b/src/remake/mod.rs
@@ -32,7 +32,7 @@ pub(crate) mod snapshot;
mod switch;
mod vote;
-pub(crate) use kind::build_genesis;
+pub(crate) use kind::remake_genesis;
pub(crate) use local::RemakeState;
pub(crate) use switch::run_worker;