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

Function file

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

Source from the content-addressed store, hash-verified

208
209/** @internal */
210export const file = (config?: Args.Args.PathArgsConfig): Args.Args<string> =>
211 makeSingle(
212 Option.fromNullable(config?.name),
213 InternalPrimitive.path("file", config?.exists || "either")
214 )
215
216/** @internal */
217export const fileContent = (

Callers 2

fileContentFunction · 0.70
fileTextFunction · 0.70

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…