MCPcopy
hub / github.com/triggerdotdev/trigger.dev / readFile

Function readFile

packages/cli-v3/src/utilities/fileSystem.ts:46–48  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

44}
45
46export async function readFile(path: string) {
47 return await fsModule.readFile(path, "utf8");
48}
49
50export async function readJSONFile(path: string) {
51 const fileContents = await fsModule.readFile(path, "utf8");

Callers 6

gitIgnoreDotTriggerDirFunction · 0.90
addConfigFileToTsConfigFunction · 0.90
createFileFromTemplateFunction · 0.90
safeFeadJSONFileFunction · 0.70
resolveDependenciesFunction · 0.50
#reconnectMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…