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

Method add

packages/cli/src/utils.ts:247–253  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

245 }
246
247 add(item: T) {
248 this.items.push(item);
249 this.setDebounceTimer();
250 if (this.items.length >= this.batchSize) {
251 this.flush();
252 }
253 }
254
255 flush() {
256 this.clearDebounceTimer();

Callers 15

utils.spec.tsFile · 0.45
onFileFunction · 0.45
updateAlbumsFunction · 0.45
chunksFunction · 0.45
addAssetsFunction · 0.45
getMyPartnerIdsFunction · 0.45
setUnionFunction · 0.45
uniqueEditActionsFunction · 0.45
uniqueNonEmptyLinesFunction · 0.45
getSyncMergeResultMethod · 0.45
getDownloadInfoMethod · 0.45

Calls 3

setDebounceTimerMethod · 0.95
flushMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected