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

Function test_options_is_hidden_name

atomic-core/src/output/repo/tree.rs:1086–1092  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1084
1085 #[test]
1086 fn test_options_is_hidden_name() {
1087 assert!(TreeCollectOptions::is_hidden_name(".gitignore"));
1088 assert!(TreeCollectOptions::is_hidden_name(".hidden"));
1089 assert!(TreeCollectOptions::is_hidden_name(".."));
1090 assert!(!TreeCollectOptions::is_hidden_name("visible.txt"));
1091 assert!(!TreeCollectOptions::is_hidden_name("file.gitignore"));
1092 }
1093
1094 #[test]
1095 fn test_options_should_include() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected