MCPcopy Create free account
hub / github.com/garrytan/gstack / readCalls

Function readCalls

test/gstack-artifacts-init.test.ts:146–149  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

144}
145
146function readCalls(file: string): string[] {
147 if (!fs.existsSync(file)) return [];
148 return fs.readFileSync(file, 'utf-8').trim().split('\n').filter(Boolean);
149}
150
151beforeEach(() => {
152 tmpHome = fs.mkdtempSync(path.join(os.tmpdir(), 'artifacts-init-'));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected