Method
detect_presence
(&self, repo_root: &Path)
Source from the content-addressed store, hash-verified
| 617 | } |
| 618 | |
| 619 | fn detect_presence(&self, repo_root: &Path) -> bool { |
| 620 | // OpenCode is present if the repo has a .opencode directory OR if |
| 621 | // the atomic-hooks.ts plugin is staged under ~/.config/opencode/. |
| 622 | repo_root.join(OPENCODE_DIR).is_dir() || Self::is_plugin_installed() |
| 623 | } |
| 624 | |
| 625 | fn hook_verbs(&self) -> Vec<&str> { |
| 626 | vec![ |
Callers
nothing calls this directly
Tested by
no test coverage detected