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

Function importCache

test/cache-concurrent-refresh.test.ts:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31});
32
33async function importCache(): Promise<typeof import('../bin/gstack-brain-cache')> {
34 return (await import('../bin/gstack-brain-cache')) as typeof import('../bin/gstack-brain-cache');
35}
36
37describe('concurrent-refresh lockfile dedup', () => {
38 test('first caller acquires lock; second concurrent caller deduplicates', async () => {

Calls

no outgoing calls

Tested by

no test coverage detected