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

Function backupPathFor

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

Source from the content-addressed store, hash-verified

1143};
1144
1145const backupPathFor = (sqlitePath: string, nonce: string): string =>
1146 `${sqlitePath}.v1-v2-${Date.now()}-${nonce}`;
1147
1148const stagingPathFor = (sqlitePath: string, nonce: string): string =>
1149 `${sqlitePath}.building-${nonce}`;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected