MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / removeMigrationJournal

Function removeMigrationJournal

apps/local/src/db/v1-v2-migration.ts:1165–1168  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

1163};
1164
1165const removeMigrationJournal = (path: string): void => {
1166 fs.rmSync(path, { force: true });
1167 fsyncDirectory(dirname(path));
1168};
1169
1170type MigrationJournalReadResult =
1171 | { readonly kind: "missing" }

Callers 3

completeJournaledFlipFunction · 0.85
recoverV1V2MigrationFunction · 0.85

Calls 1

fsyncDirectoryFunction · 0.85

Tested by

no test coverage detected