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

Function migrationJournalPath

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

Source from the content-addressed store, hash-verified

1152 `${sqlitePath}.source-${nonce}`;
1153
1154const migrationJournalPath = (sqlitePath: string): string => `${sqlitePath}.v1-v2-migration.json`;
1155
1156const writeMigrationJournal = async (path: string, journal: MigrationJournal): Promise<void> => {
1157 fs.mkdirSync(dirname(path), { recursive: true });

Callers 2

recoverV1V2MigrationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected