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

Method is_added

atomic-repository/src/parallel_record/mod.rs:149–151  ·  view source on GitHub ↗

Returns `true` if this is an added file (not directory).

(&self)

Source from the content-addressed store, hash-verified

147
148 /// Returns `true` if this is an added file (not directory).
149 pub fn is_added(&self) -> bool {
150 self.kind == FileRecordKind::Added
151 }
152
153 /// Returns `true` if this is a modified file.
154 pub fn is_modified(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected