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

Function runtimeSetReady

pkg/go/cmd/codebase-memory-mcp/main.go:1107–1114  ·  view source on GitHub ↗
(
	directory, binaryName string, verifier func(string) error,
)

Source from the content-addressed store, hash-verified

1105}
1106
1107func runtimeSetReady(
1108 directory, binaryName string, verifier func(string) error,
1109) bool {
1110 if _, ok := runtimeSetNames(directory, binaryName); !ok {
1111 return false
1112 }
1113 return verifier == nil || verifier(filepath.Join(directory, binaryName)) == nil
1114}
1115
1116func requireSafeRuntimeDirectory(directory string) error {
1117 status, err := os.Lstat(directory)

Calls 1

runtimeSetNamesFunction · 0.85