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

Method new

atomic-core/src/pristine/span_patch_storage/build_tests.rs:16–24  ·  view source on GitHub ↗
(inner: &'a ReadTxn)

Source from the content-addressed store, hash-verified

14
15impl<'a> CountedTxn<'a> {
16 fn new(inner: &'a ReadTxn) -> Self {
17 Self {
18 inner,
19 dependencies: Cell::new(0),
20 internals: RefCell::default(),
21 files: RefCell::default(),
22 missing_internal: None,
23 }
24 }
25}
26
27impl GraphTxnT for CountedTxn<'_> {

Callers

nothing calls this directly

Calls 15

openFunction · 0.85
index_changeFunction · 0.85
write_txnMethod · 0.80
open_or_create_viewMethod · 0.80
register_changeMethod · 0.80
put_change_depsMethod · 0.80
put_changeMethod · 0.80
update_viewMethod · 0.80
pathMethod · 0.45
commitMethod · 0.45
insert_changeMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected