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

Function runtimeSetReady

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

Source from the content-addressed store, hash-verified

1078}
1079
1080func runtimeSetReady(
1081 directory, binaryName string, verifier func(string) error,
1082) bool {
1083 if _, ok := runtimeSetNames(directory, binaryName); !ok {
1084 return false
1085 }
1086 return verifier == nil || verifier(filepath.Join(directory, binaryName)) == nil
1087}
1088
1089func requireSafeRuntimeDirectory(directory string) error {
1090 status, err := os.Lstat(directory)

Calls 1

runtimeSetNamesFunction · 0.85