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

Method is_create

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

Returns true if this is a file creation.

(&self)

Source from the content-addressed store, hash-verified

442
443 /// Returns true if this is a file creation.
444 pub fn is_create(&self) -> bool {
445 matches!(self.trunk_op, Some(TrunkOp::Create { .. }))
446 }
447
448 /// Returns true if this is a file deletion.
449 pub fn is_delete(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected