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

Method is_dir

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

Check if this is a directory. # Returns `true` if this metadata represents a directory.

(&self)

Source from the content-addressed store, hash-verified

385 ///
386 /// `true` if this metadata represents a directory.
387 pub fn is_dir(&self) -> bool {
388 self.is_directory
389 }
390
391 /// Check if this file is executable.
392 ///

Callers 15

open_repository_readonlyFunction · 0.80
collect_filesFunction · 0.80
delete_fileMethod · 0.80
add_pathMethod · 0.80
resolve_candidatesFunction · 0.80
resolve_destinationMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 15

shelved_filesMethod · 0.64
walkMethod · 0.64
walkdirFunction · 0.64
collectFunction · 0.64
worktree_bytesFunction · 0.64
walkFunction · 0.64
digest_populated_shelvesFunction · 0.64
walkdir_allFunction · 0.64
worktree_snapshotMethod · 0.64