MCPcopy Create free account
hub / github.com/Effect-TS/effect / layerNoop

Function layerNoop

packages/effect/src/FileSystem.ts:954–955  ·  view source on GitHub ↗
(fileSystem: Partial<FileSystem>)

Source from the content-addressed store, hash-verified

952 * @since 4.0.0
953 */
954export const layerNoop = (fileSystem: Partial<FileSystem>): Layer.Layer<FileSystem> =>
955 Layer.succeed(FileSystem)(makeNoop(fileSystem))
956
957/**
958 * Runtime type identifier attached to `FileSystem.File` handles and used by

Callers

nothing calls this directly

Calls 2

makeNoopFunction · 0.85
succeedMethod · 0.45

Tested by

no test coverage detected