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

Method is_delete

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

Returns true if this is a file deletion.

(&self)

Source from the content-addressed store, hash-verified

447
448 /// Returns true if this is a file deletion.
449 pub fn is_delete(&self) -> bool {
450 matches!(self.trunk_op, Some(TrunkOp::Delete { .. }))
451 }
452
453 /// Returns true if this is a file move/rename.
454 pub fn is_move(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected