MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / add

Method add

daemon/src/service/upload_manager.ts:17–22  ·  view source on GitHub ↗
(file: FileWriter)

Source from the content-addressed store, hash-verified

15 }
16
17 add(file: FileWriter): string {
18 const key = v4();
19 file.id = key;
20 this.uploads.set(key, file);
21 return key;
22 }
23
24 public getUploads() {
25 return this.uploads.entries();

Callers 12

deepTraverseObjectFunction · 0.80
setBackgroundImageFunction · 0.80
setLightFunction · 0.80
setDarkFunction · 0.80
addCallbackMethod · 0.80
getExistingUploadNamesFunction · 0.80
selectedFilesFunction · 0.80
addDragClassFunction · 0.80
getInfosByHashesMethod · 0.80
getModConfigMethod · 0.80
http_router.tsFile · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected