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

Function file

packages/effect/src/unstable/cli/Flag.ts:238–240  ·  view source on GitHub ↗
(name: string, options?: {
  readonly mustExist?: boolean | undefined
})

Source from the content-addressed store, hash-verified

236 * @since 4.0.0
237 */
238export const file = (name: string, options?: {
239 readonly mustExist?: boolean | undefined
240}): Flag<string> => Param.file(Param.flagKind, name, options)
241
242/**
243 * Creates a directory path flag that accepts directory paths with optional existence validation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected