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

Method clone

atomic-core/src/change/store.rs:408–412  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

406
407impl Clone for MemoryChangeStore {
408 fn clone(&self) -> Self {
409 Self {
410 changes: RwLock::new(self.changes.read().unwrap().clone()),
411 }
412 }
413}
414
415impl ChangeStore for MemoryChangeStore {

Callers 15

runMethod · 0.45
runMethod · 0.45
test_split_cloneFunction · 0.45
run_pushMethod · 0.45
runMethod · 0.45
test_stash_cloneFunction · 0.45
runMethod · 0.45
test_remove_cloneFunction · 0.45
add_pathMethod · 0.45
runMethod · 0.45
executeMethod · 0.45
test_move_cloneFunction · 0.45

Calls 1

unwrapMethod · 0.45

Tested by 15

test_split_cloneFunction · 0.36
test_stash_cloneFunction · 0.36
test_remove_cloneFunction · 0.36
test_move_cloneFunction · 0.36
test_restore_cloneFunction · 0.36
test_record_cloneFunction · 0.36
test_remote_cloneFunction · 0.36
test_push_cloneFunction · 0.36
test_push_change_cloneFunction · 0.36
test_push_stats_cloneFunction · 0.36