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

Function directory

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

Source from the content-addressed store, hash-verified

201
202/** @internal */
203export const directory = (config?: Args.Args.PathArgsConfig): Args.Args<string> =>
204 makeSingle(
205 Option.fromNullable(config?.name),
206 InternalPrimitive.path("directory", config?.exists || "either")
207 )
208
209/** @internal */
210export const file = (config?: Args.Args.PathArgsConfig): Args.Args<string> =>

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…