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

Function file

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

Source from the content-addressed store, hash-verified

290
291/** @internal */
292export const file = (
293 name: string,
294 config?: Options.Options.PathOptionsConfig
295): Options.Options<string> =>
296 makeSingle(
297 name,
298 Arr.empty(),
299 InternalPrimitive.path("file", config?.exists ?? "either")
300 )
301
302/** @internal */
303export 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…