MCPcopy
hub / github.com/Fission-AI/OpenSpec / readFile

Method readFile

src/utils/file-system.ts:236–238  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

234 }
235
236 static async readFile(filePath: string): Promise<string> {
237 return await fs.readFile(filePath, 'utf-8');
238 }
239
240 static async updateFileWithMarkers(
241 filePath: string,

Callers 15

updateFileWithMarkersMethod · 0.95
spec.test.tsFile · 0.80
basic.test.tsFile · 0.80
walkFunction · 0.80
update.test.tsFile · 0.80
init.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

walkFunction · 0.64