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

Function fsyncSqliteFileSet

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

Source from the content-addressed store, hash-verified

1093};
1094
1095const fsyncSqliteFileSet = (path: string): void => {
1096 for (const suffix of fileSetSuffixes) fsyncFileIfExists(`${path}${suffix}`);
1097};
1098
1099const moveSqliteFileSet = async (source: string, target: string): Promise<void> => {
1100 await renameWithRetry(source, target);

Callers 2

verifyStagingDatabaseFunction · 0.85

Calls 1

fsyncFileIfExistsFunction · 0.85

Tested by

no test coverage detected