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

Function directory

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected