MCPcopy Index your code
hub / github.com/anomalyco/opencode / listIn

Function listIn

packages/opencode/test/provider/provider.test.ts:1868–1872  ·  view source on GitHub ↗
(directory: string)

Source from the content-addressed store, hash-verified

1866 })
1867
1868 const listIn = (directory: string) =>
1869 Provider.use
1870 .list()
1871 .pipe(provideInstanceEffect(directory))
1872 .pipe(Effect.provide(instanceStoreLayer), Effect.provide(AppNodeBuilder.build(CrossSpawnSpawner.node)))
1873
1874 const none = paid(yield* listIn(noneDir))
1875 const keyedCount = paid(yield* listIn(keyedDir))

Callers 1

provider.test.tsFile · 0.85

Calls 2

provideInstanceEffectFunction · 0.90
listMethod · 0.65

Tested by

no test coverage detected