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

Function toAck

server/src/utils/sync.ts:16–17  ·  view source on GitHub ↗
({ type, updateId, extraId }: SyncAck)

Source from the content-addressed store, hash-verified

14};
15
16export const toAck = ({ type, updateId, extraId }: SyncAck) =>
17 [type, updateId, extraId].filter((v) => v !== undefined).join('|');
18
19export const mapJsonLine = (object: unknown) => JSON.stringify(object) + '\n';
20

Callers 3

serializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected