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

Method new

atomic-core/src/pristine/txn/read.rs:113–118  ·  view source on GitHub ↗

Create a new read transaction

(txn: ReadTransaction)

Source from the content-addressed store, hash-verified

111impl ReadTxn {
112 /// Create a new read transaction
113 pub(crate) fn new(txn: ReadTransaction) -> Self {
114 Self {
115 txn,
116 legacy_applied_changes: std::sync::OnceLock::new(),
117 }
118 }
119
120 /// Open the INODE_GRAPH table for shared use across multiple operations.
121 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected