MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / readGlobalAt

Function readGlobalAt

packages/agent-core/test/logging/logger.test.ts:42–48  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

40}
41
42async function readGlobalAt(dir: string): Promise<string> {
43 try {
44 return await readFile(resolveGlobalLogPath(dir), 'utf-8');
45 } catch {
46 return '';
47 }
48}
49
50describe('log — pre-configure noop', () => {
51 it('silently swallows calls before configure', async () => {

Callers 2

readGlobalFunction · 0.85
logger.test.tsFile · 0.85

Calls 2

resolveGlobalLogPathFunction · 0.90
readFileFunction · 0.50

Tested by

no test coverage detected