MCPcopy
hub / github.com/immich-app/immich / upsertBackfillCheckpoint

Method upsertBackfillCheckpoint

server/src/services/sync.service.ts:922–935  ·  view source on GitHub ↗
(item: { type: SyncEntityType; sessionId: string; createId: string })

Source from the content-addressed store, hash-verified

920 }
921
922 private async upsertBackfillCheckpoint(item: { type: SyncEntityType; sessionId: string; createId: string }) {
923 const { type, sessionId, createId } = item;
924 await this.syncCheckpointRepository.upsertAll([
925 {
926 type,
927 sessionId,
928 ack: toAck({
929 type,
930 updateId: createId,
931 extraId: COMPLETE_ID,
932 }),
933 },
934 ]);
935 }
936}

Callers 7

syncPartnerAssetsV2Method · 0.95
syncAlbumUsersV1Method · 0.95
syncAlbumAssetsV2Method · 0.95
syncAlbumAssetExifsV1Method · 0.95
syncAlbumToAssetsV1Method · 0.95
syncPartnerStackV1Method · 0.95

Calls 2

toAckFunction · 0.90
upsertAllMethod · 0.80

Tested by

no test coverage detected