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

Function test_config_new_from_pathbuf

atomic-agent/src/watcher/mod.rs:454–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

452
453 #[test]
454 fn test_config_new_from_pathbuf() {
455 let path = PathBuf::from("/some/repo");
456 let config = WatcherConfig::new(path.clone());
457 assert_eq!(config.repo_root(), path.as_path());
458 }
459
460 #[test]
461 fn test_config_default_ignore_patterns() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected