MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / emptyFile

Function emptyFile

apps/desktop/src/main/reported-fingerprints.ts:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35const DEFAULT_WINDOW_MS = 24 * 60 * 60 * 1000;
36
37function emptyFile(): ReportedFingerprintsFile {
38 return { schemaVersion: 1, entries: [] };
39}
40
41export function readReported(filePath: string): ReportedFingerprintsFile {
42 if (!existsSync(filePath)) return emptyFile();

Callers 1

readReportedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected