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

Method write

server/src/services/integrity.service.ts:478–481  ·  view source on GitHub ↗
(chunk, _encoding, callback)

Source from the content-addressed store, hash-verified

476 this.storageRepository.createPlainReadStream(originalPath),
477 new Writable({
478 write(chunk, _encoding, callback) {
479 hash.update(chunk);
480 callback();
481 },
482 }),
483 ]);
484

Callers 1

sendFunction · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected