MCPcopy Create free account
hub / github.com/anus-dev/ANUS / cleanupLogAndCheckpointFiles

Function cleanupLogAndCheckpointFiles

packages/core/src/core/logger.test.ts:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49);
50
51async function cleanupLogAndCheckpointFiles() {
52 try {
53 await fs.rm(TEST_ANUS_DIR, { recursive: true, force: true });
54 } catch (_error) {
55 // Ignore errors, as the directory may not exist, which is fine.
56 }
57}
58
59async function readLogFile(): Promise<LogEntry[]> {
60 try {

Callers 1

logger.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected