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

Function path

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected