MCPcopy
hub / github.com/Effect-TS/effect / layerFileSystem

Function layerFileSystem

packages/platform-node-shared/src/NodeKeyValueStore.ts:16–20  ·  view source on GitHub ↗
(directory: string)

Source from the content-addressed store, hash-verified

14export const layerFileSystem: (
15 directory: string
16) => Layer.Layer<KeyValueStore.KeyValueStore, PlatformError.PlatformError> = (directory: string) =>
17 Layer.provide(
18 KeyValueStore.layerFileSystem(directory),
19 Layer.merge(FileSystem.layer, Path.layer)
20 )

Callers

nothing calls this directly

Calls 2

mergeMethod · 0.80
provideMethod · 0.65

Tested by

no test coverage detected