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

Function removeSqliteFileSet

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

Source from the content-addressed store, hash-verified

1139};
1140
1141const removeSqliteFileSet = (path: string): void => {
1142 for (const suffix of fileSetSuffixes) fs.rmSync(`${path}${suffix}`, { force: true });
1143};
1144
1145const backupPathFor = (sqlitePath: string, nonce: string): string =>
1146 `${sqlitePath}.v1-v2-${Date.now()}-${nonce}`;

Callers 1

copySqliteFileSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected