Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
407
impl Clone for MemoryChangeStore {
408
fn clone(&self) -> Self {
409
Self {
410
changes: RwLock::new(self.changes.read().unwrap().clone()),
411
}
412
}
413
}
414
415
impl ChangeStore for MemoryChangeStore {
Callers
15
run
Method · 0.45
run
Method · 0.45
test_split_clone
Function · 0.45
run_push
Method · 0.45
run
Method · 0.45
test_stash_clone
Function · 0.45
run
Method · 0.45
test_remove_clone
Function · 0.45
add_path
Method · 0.45
run
Method · 0.45
execute
Method · 0.45
test_move_clone
Function · 0.45
Calls
1
unwrap
Method · 0.45
Tested by
15
test_split_clone
Function · 0.36
test_stash_clone
Function · 0.36
test_remove_clone
Function · 0.36
test_move_clone
Function · 0.36
test_restore_clone
Function · 0.36
self_signed_token_verifies_round_trip
Function · 0.36
test_record_clone
Function · 0.36
test_remote_clone
Function · 0.36
test_push_clone
Function · 0.36
test_push_change_with_tagged
Function · 0.36
test_push_change_clone
Function · 0.36
test_push_stats_clone
Function · 0.36