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

Function directory

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

Source from the content-addressed store, hash-verified

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