File.prototype.buckets()

Return all buckets that are defined for the file.

Syntax

file.buckets() []Bucket file.buckets() null

Description

Return all buckets that are defined for the file.

Examples

Example where no buckets are defined.

Example where a single bucket is defined.

Undefined buckets are not returned, even when they are used.

Example when the .Buckets defines no buckets.