MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / fileExists

Function fileExists

agentContext/builder.go:49–55  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

47 candidate := apppaths.ProjectSystemPrompt(current)
48 if fileExists(candidate) {
49 return candidate
50 }
51 parent := filepath.Dir(current)
52 if parent == current {
53 break
54 }
55 current = parent
56 }
57 }
58

Callers 2

resolveTemplatePathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected