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

Function redacted

packages/effect/src/internal/config.ts:474–479  ·  view source on GitHub ↗
(
  nameOrConfig?: string | Config.Config<A>
)

Source from the content-addressed store, hash-verified

472
473/** @internal */
474export const redacted = <A>(
475 nameOrConfig?: string | Config.Config<A>
476): Config.Config<Redacted.Redacted<A | string>> => {
477 const config: Config.Config<A | string> = isConfig(nameOrConfig) ? nameOrConfig : string(nameOrConfig)
478 return map(config, redacted_.make)
479}
480
481/** @internal */
482export const branded: {

Callers

nothing calls this directly

Calls 3

isConfigFunction · 0.85
stringFunction · 0.70
mapFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…