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

Method is_directory

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

Returns `true` if this is a directory operation.

(&self)

Source from the content-addressed store, hash-verified

162
163 /// Returns `true` if this is a directory operation.
164 pub fn is_directory(&self) -> bool {
165 matches!(
166 self.kind,
167 FileRecordKind::DirectoryAdded | FileRecordKind::DirectoryDeleted
168 )
169 }
170}
171
172impl fmt::Display for FileRecordInput {

Callers 3

statusMethod · 0.45
recordMethod · 0.45
is_directory_inodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected