Module: storage

Storage entry point for firebase-admin-util
Source:

Methods

(async, inner) appendObjToFile(localPath, bucketPath, obj) → {Promise.<string>}

Append object to file in bucket
Parameters:
Name Type Description
localPath string The temporary path for the file
bucketPath string The remote path for the file
obj object The object you wish to append
Source:
Returns:
Content in the file after the append
Type
Promise.<string>

(async, inner) upload(blob) → {Promise.<string>}

Upload blob to storage bucket
Parameters:
Name Type Description
blob Blob The blob you want to upload
Source:
Returns:
Url of the uploaded blob
Type
Promise.<string>