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

Function test_allow_dotfiles_in_root

atomic-agent/src/record/tests.rs:1022–1029  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1020
1021#[test]
1022fn test_allow_dotfiles_in_root() {
1023 // Single-component hidden files (not dirs) at the root — these are
1024 // still filtered because they start with '.' and have len > 1.
1025 // This is intentional: .env, .gitignore, etc. are usually in
1026 // .atomicignore if the user wants them tracked.
1027 assert!(should_ignore_untracked(".env"));
1028 assert!(should_ignore_untracked(".gitignore"));
1029}
1030
1031#[test]
1032fn test_allow_files_with_dots_in_name() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected