MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / binPath

Function binPath

pkg/go/cmd/codebase-memory-mcp/main.go:57–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func 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
65func cacheDir() string {
66 if d := os.Getenv("CBM_CACHE_DIR"); d != "" {

Callers 1

ensureBinaryFunction · 0.85

Calls 1

cacheDirFunction · 0.85

Tested by

no test coverage detected