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

Method is_directory

atomic-core/src/output/memory.rs:546–552  ·  view source on GitHub ↗
(&self, path: &str)

Source from the content-addressed store, hash-verified

544 }
545
546 fn is_directory(&self, path: &str) -> bool {
547 self.files
548 .borrow()
549 .get(path)
550 .map(|f| f.metadata.is_dir)
551 .unwrap_or(false)
552 }
553
554 fn walk_files(&self, prefix: &str) -> Result<Vec<String>, Self::Error> {
555 let files = self.files.borrow();

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected