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

Function file

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

Source from the content-addressed store, hash-verified

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

Callers 2

fileContentFunction · 0.70
fileTextFunction · 0.70

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected