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

Function test_is_installed

atomic-agent/src/hooks/gemini_cli.rs:1007–1016  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1005
1006 #[test]
1007 fn test_is_installed() {
1008 let dir = tempfile::tempdir().unwrap();
1009 let hook = make_hook();
1010
1011 assert!(!hook.is_installed(dir.path()));
1012
1013 hook.install(dir.path()).unwrap();
1014
1015 assert!(hook.is_installed(dir.path()));
1016 }
1017
1018 #[test]
1019 fn test_uninstall_removes_atomic_hooks() {

Callers

nothing calls this directly

Calls 4

make_hookFunction · 0.70
unwrapMethod · 0.45
installMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected