MCPcopy
hub / github.com/angular/angularfire / upload

Method upload

src/compat/storage/storage.ts:70–74  ·  view source on GitHub ↗
(path: string, data: any, metadata?: UploadMetadata)

Source from the content-addressed store, hash-verified

68 }
69
70 upload(path: string, data: any, metadata?: UploadMetadata) {
71 const storageRef = this.storage.ref(path);
72 const ref = createStorageRef(storageRef, this.injector);
73 return ref.put(data, metadata);
74 }
75
76}

Callers

nothing calls this directly

Calls 3

createStorageRefFunction · 0.90
refMethod · 0.80
putMethod · 0.80

Tested by

no test coverage detected