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

Function allows_ordinary_source_paths

atomic-cli/src/commands/git/shadow.rs:2213–2219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2211
2212 #[test]
2213 fn allows_ordinary_source_paths() {
2214 assert!(!forbidden("src/main.rs"));
2215 assert!(!forbidden("README.md"));
2216 // A file that merely *contains* the substring is not forbidden.
2217 assert!(!forbidden("docs/.atomicignore.md"));
2218 assert!(!forbidden("my.vault/keep.txt"));
2219 }
2220
2221 // ── Agent shim gating (RFC §2 / CB-13C) ─────────────────────────────
2222 //

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected