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

Function regularRuntimeFile

pkg/go/cmd/codebase-memory-mcp/main.go:1067–1071  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

1065}
1066
1067func regularRuntimeFile(path string) bool {
1068 status, err := os.Lstat(path)
1069 return err == nil && status.Mode().IsRegular() &&
1070 platformRuntimeSetFileLinkCountOne(path, status)
1071}
1072
1073func runtimeSetNames(directory, binaryName string) ([]string, bool) {
1074 if !regularRuntimeFile(filepath.Join(directory, binaryName)) {

Callers 2

runtimeSetNamesFunction · 0.85
pathMatchesSHA256Function · 0.85

Calls 1

Tested by

no test coverage detected