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

Method is_move

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

Returns true if this is a file move/rename.

(&self)

Source from the content-addressed store, hash-verified

452
453 /// Returns true if this is a file move/rename.
454 pub fn is_move(&self) -> bool {
455 matches!(self.trunk_op, Some(TrunkOp::Move { .. }))
456 }
457
458 /// Returns true if this is an edit (no trunk operation).
459 pub fn is_edit(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected