MCPcopy Index your code
hub / github.com/NativeScript/firebase / Reference

Class Reference

packages/firebase-storage/index.d.ts:159–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159export declare class Reference implements IReference {
160 readonly native;
161 readonly android;
162 readonly ios;
163 readonly bucket: string;
164 readonly fullPath: string;
165 readonly name: string;
166 readonly parent: Reference;
167 readonly root: Reference;
168 readonly storage: Storage;
169
170 child(path: string): Reference;
171
172 delete(): Promise<void>;
173
174 getDownloadURL(): Promise<string>;
175
176 getMetadata(): Promise<Metadata>;
177
178 list(options?: ListOptions): Promise<ListResult>;
179
180 listAll(): Promise<ListResult>;
181
182 put(data: Blob | Uint8Array | ArrayBuffer, metadata?: Metadata): Task;
183
184 putString(data: string, format: StringFormat = StringFormat.RAW, metadata?: Metadata): Task;
185
186 putFile(path: string, metadata?: Metadata): Task;
187
188 updateMetadata(metadata: Metadata): Promise<Metadata>;
189
190 writeToFile(localFilePath: string): Task;
191}
192
193export declare class Storage implements IStorage {
194 readonly native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…