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

Method begin_read

atomic-core/src/pristine/txn/pristine.rs:108–113  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

106
107impl PristineDatabase {
108 fn begin_read(&self) -> Result<redb::ReadTransaction, redb::TransactionError> {
109 match self {
110 Self::Writable(db) => db.begin_read(),
111 Self::ReadOnly(db) => db.begin_read(),
112 }
113 }
114}
115
116impl Pristine {

Callers 15

openMethod · 0.80
scan_idsMethod · 0.80
read_txnMethod · 0.80
has_changeMethod · 0.80
load_metaMethod · 0.80
get_provenance_turnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected