MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / read

Function read

packages/node-runtime/src/logging/app-logger.test.ts:13–15  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

11}
12
13function read(file: string): string {
14 return fs.existsSync(file) ? fs.readFileSync(file, 'utf-8') : ''
15}
16
17test('writes leveled lines with scope and extracts Error', () => {
18 const dir = makeTempDir()

Callers 1

app-logger.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected