()
| 55 | } |
| 56 | |
| 57 | func binPath() string { |
| 58 | name := "codebase-memory-mcp" |
| 59 | if runtime.GOOS == "windows" { |
| 60 | name += ".exe" |
| 61 | } |
| 62 | return filepath.Join(cacheDir(), version, name) |
| 63 | } |
| 64 | |
| 65 | func cacheDir() string { |
| 66 | if d := os.Getenv("CBM_CACHE_DIR"); d != "" { |
no test coverage detected