MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / getAllInfraProfiles

Function getAllInfraProfiles

dev/local/services.ts:377–379  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

375// on the ports of the stack that was actually started, even when dev:start
376// auto-probed away from the hash default.
377export function readPersistedPortOffset(repoRoot: string): number | undefined {
378 try {
379 const value = Number(
380 fs.readFileSync(path.join(repoRoot, 'dev', 'logs', 'port-offset'), 'utf-8').trim()
381 );
382 if (Number.isInteger(value) && value >= 0) return value;

Callers 1

buildInfraDownArgsFunction · 0.90

Calls 1

valuesMethod · 0.65

Tested by

no test coverage detected