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

Function directory

packages/cli/src/internal/options.ts:281–289  ·  view source on GitHub ↗
(
  name: string,
  config?: Options.Options.PathOptionsConfig
)

Source from the content-addressed store, hash-verified

279
280/** @internal */
281export const directory = (
282 name: string,
283 config?: Options.Options.PathOptionsConfig
284): Options.Options<string> =>
285 makeSingle(
286 name,
287 Arr.empty(),
288 InternalPrimitive.path("directory", config?.exists ?? "either")
289 )
290
291/** @internal */
292export const file = (

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected