MCPcopy Index your code
hub / github.com/Effect-TS/effect / path

Function path

packages/cli/src/internal/args.ts:267–271  ·  view source on GitHub ↗
(config?: Args.Args.PathArgsConfig)

Source from the content-addressed store, hash-verified

265
266/** @internal */
267export const path = (config?: Args.Args.PathArgsConfig): Args.Args<string> =>
268 makeSingle(
269 Option.fromNullable(config?.name),
270 InternalPrimitive.path("either", config?.exists || "either")
271 )
272
273/** @internal */
274export const redacted = (

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…