MCPcopy Create free account
hub / github.com/anomalyco/opencode / cassetteLayer

Function cassetteLayer

packages/http-recorder/src/internal-effect.ts:184–189  ·  view source on GitHub ↗
(name: string, options: RecordReplayOptions = {})

Source from the content-addressed store, hash-verified

182 )
183
184export const cassetteLayer = (name: string, options: RecordReplayOptions = {}): Layer.Layer<HttpClient.HttpClient> =>
185 recordingLayer(name, options).pipe(
186 Layer.provide(CassetteService.fileSystem({ directory: options.directory })),
187 Layer.provide(FetchHttpClient.layer),
188 Layer.provide(NodeFileSystem.layer),
189 )

Callers

nothing calls this directly

Calls 1

recordingLayerFunction · 0.70

Tested by

no test coverage detected