Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ undelete
Method
undelete
atomic-core/src/crdt/trunk.rs:248–250 ·
view source on GitHub ↗
Restores a deleted trunk to alive.
(&mut self)
Source
from the content-addressed store, hash-verified
246
247
/// Restores a deleted trunk to alive.
248
pub fn undelete(&mut self) {
249
self.state = TrunkState::Alive;
250
}
251
}
252
253
impl fmt::Display for Trunk {
Callers
1
test_trunk_delete_and_undelete
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_trunk_delete_and_undelete
Function · 0.36