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

Function test_detect_presence_with_devin_dir

atomic-agent/src/hooks/devin.rs:631–636  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

629
630 #[test]
631 fn test_detect_presence_with_devin_dir() {
632 let dir = tempfile::tempdir().unwrap();
633 std::fs::create_dir(dir.path().join(DEVIN_DIR)).unwrap();
634 let hook = make_hook();
635 assert!(hook.detect_presence(dir.path()));
636 }
637
638 #[test]
639 fn test_detect_presence_without_devin_dir() {

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected