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

Method store

libatomic/src/daemon/journal_sink.rs:42–48  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

40 }
41
42 fn store(&self) -> Result<atomic_repository::redb_change_store::RedbChangeStore, String> {
43 atomic_repository::redb_change_store::RedbChangeStore::open_existing_wait(
44 &self.root,
45 super::state::database_open_wait(),
46 )
47 .map_err(|error| format!("failed to open {}: {error}", self.root.display()))
48 }
49}
50
51fn to_store_stop_cause(cause: JournalStopCause) -> StopCause {

Callers 10

reserve_turnMethod · 0.45
appendMethod · 0.45
prepare_checkpointMethod · 0.45
load_frozen_envelopesMethod · 0.45
bind_checkpoint_hashMethod · 0.45
stop_turnMethod · 0.45
resume_turnMethod · 0.45
abandon_turnMethod · 0.45
turn_statusMethod · 0.45

Calls 1

database_open_waitFunction · 0.85

Tested by

no test coverage detected