MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / exists

Function exists

src/agent/tool-profile.ts:44–46  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

42 * a handful of stat calls, no directory walks. Best-effort: errors mean "absent". */
43export async function gatherInfraSignals(cwd: string, signals: ProjectSignals): Promise<InfraSignals> {
44 const exists = async (p: string) => {
45 try { await fs.access(path.join(cwd, p)); return true; } catch { return false; }
46 };
47 const deps = new Set((signals.deps ?? []).map(d => d.toLowerCase()));
48
49 const [dockerfile, composeYml, composeYaml, ghWorkflows, gitlabCi, circleci, openapiY, openapiJ, swaggerY, awsDir] =

Callers 1

gatherInfraSignalsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected