MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / readFile

Method readFile

src/lib/file.js:75–82  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

73 }
74
75 readFile(file) {
76 this.numUploadsInProgress++;
77 return readUploadFile(file, this.onLoadEnd)
78 .catch(error => {
79 this.onLoadEnd();
80 throw error;
81 });
82 }
83
84 inProgress() {
85 return this.actions !== null;

Callers 4

addAttachmentFunction · 0.80
addFileFunction · 0.80
addFileFunction · 0.80
addFileFunction · 0.80

Calls 2

onLoadEndMethod · 0.95
readUploadFileFunction · 0.85

Tested by

no test coverage detected