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

Method is_deleted

atomic-core/src/record/item.rs:206–208  ·  view source on GitHub ↗

Check if this is a Deleted update. # Returns `true` if this represents a file deletion.

(&self)

Source from the content-addressed store, hash-verified

204 ///
205 /// `true` if this represents a file deletion.
206 pub fn is_deleted(&self) -> bool {
207 matches!(self, Self::Deleted { .. })
208 }
209
210 /// Get the inode associated with this update.
211 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected