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

Function redacted

packages/effect/src/unstable/cli/Param.ts:725–733  ·  view source on GitHub ↗
(
  kind: Kind,
  name: string
)

Source from the content-addressed store, hash-verified

723 * @since 4.0.0
724 */
725export const redacted = <Kind extends ParamKind>(
726 kind: Kind,
727 name: string
728): Param<Kind, Redacted.Redacted<string>> =>
729 makeSingle({
730 name,
731 primitiveType: Primitive.redacted,
732 kind
733 })
734
735/**
736 * Creates a parameter that reads and returns file content as a string.

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected