MCPcopy
hub / github.com/SnapDrop/snapdrop / _onFileReceived

Method _onFileReceived

client/scripts/network.js:205–208  ·  view source on GitHub ↗
(proxyFile)

Source from the content-addressed store, hash-verified

203 }
204
205 _onFileReceived(proxyFile) {
206 Events.fire('file-received', proxyFile);
207 this.sendJSON({ type: 'transfer-complete' });
208 }
209
210 _onTransferCompleted() {
211 this._onDownloadProgress(1);

Callers 1

_onFileHeaderMethod · 0.95

Calls 2

sendJSONMethod · 0.95
fireMethod · 0.80

Tested by

no test coverage detected