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

Method is_restore

atomic-core/src/change/ops.rs:944–946  ·  view source on GitHub ↗

Returns true if this is a restore operation.

(&self)

Source from the content-addressed store, hash-verified

942
943 /// Returns true if this is a restore operation.
944 pub fn is_restore(&self) -> bool {
945 matches!(self.operation, BranchOp::Restore { .. })
946 }
947
948 /// Returns the "after" reference for insert operations.
949 pub fn insert_after(&self) -> Option<BranchId> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected