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

Function test_detect_presence_with_kilo_dir

atomic-agent/src/hooks/kilo.rs:617–622  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

615
616 #[test]
617 fn test_detect_presence_with_kilo_dir() {
618 let dir = tempfile::TempDir::new().unwrap();
619 std::fs::create_dir_all(dir.path().join(".kilo")).unwrap();
620 let hook = make_hook();
621 assert!(hook.detect_presence(dir.path()));
622 }
623
624 #[test]
625 fn test_detect_presence_without_kilo_dir() {

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected