MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / walSize

Function walSize

__tests__/wal-heal.test.ts:81–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 let dir: string;
80 let dbPath: string;
81 const walSize = (): number => {
82 try { return fs.statSync(`${dbPath}-wal`).size; } catch { return 0; }
83 };
84
85 beforeEach(() => {
86 dir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-wal-heal-'));

Callers 1

wal-heal.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected