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

Method is_atomic_path

atomic-core/src/output/filesystem/walk.rs:88–90  ·  view source on GitHub ↗

Check if a path is the Atomic metadata directory or inside it.

(&self, path: &str)

Source from the content-addressed store, hash-verified

86
87 /// Check if a path is the Atomic metadata directory or inside it.
88 pub fn is_atomic_path(&self, path: &str) -> bool {
89 path == DOT_DIR || path.starts_with(&format!("{}/", DOT_DIR))
90 }
91}
92
93// WORKING COPY READ IMPLEMENTATION

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected