File.prototype.unsafeBucket()

Return a bucket reference regardless of the bucket being defined or not.

Syntax

file.unsafeBucket(bucketName string) Bucket

Parameters

bucketName string

Name of the bucket.

Description

Return a bucket reference regardless of the bucket being defined or not.

Examples

Selecting a bucket that is not defined.

Selecting a bucket that is defined.