MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / journal

Function journal

atomic-repository/src/repository/observability.rs:1136–1145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1134 const BINDING_HEX: &str = "eea50ca11b98918aef4672da8179eb718f562585000000000000000000000000";
1135
1136 fn journal() -> (tempfile::TempDir, BridgeEventJournal) {
1137 let directory = tempfile::tempdir().unwrap();
1138 let dot_dir = directory.path().join(DOT_DIR);
1139 std::fs::create_dir_all(&dot_dir).unwrap();
1140 let journal = BridgeEventJournal::new(
1141 &dot_dir,
1142 Some(UlidId::new("01ARZ3NDEKTSV4RRFFQ69G5FAV").unwrap()),
1143 );
1144 (directory, journal)
1145 }
1146
1147 // ── CB-13C F1 regressions ───────────────────────────────────────────
1148

Calls 2

unwrapMethod · 0.45
pathMethod · 0.45