ListObject represents a single blob returned from List.

Hierarchy

  • ListObject

Methods

Properties

Methods

  • As converts i to driver-specific types. See https://gocloud.dev/concepts/as/ for background information, the "As" examples in this package for examples, and the driver package documentation for the specific types supported for that driver.

    Parameters

    • i: {}

      Returns boolean

    Properties

    isDir: boolean

    IsDir indicates that this result represents a "directory" in the hierarchical namespace, ending in ListOptions.Delimiter. Key can be passed as ListOptions.Prefix to list items in the "directory". Fields other than Key and IsDir will not be set if IsDir is true.

    key: string

    Key is the key for this blob.

    md5: string | number[]

    MD5 is an MD5 hash of the blob contents or nil if not available.

    modTime: Time

    ModTime is the time the blob was last modified.

    size: number

    Size is the size of the blob's content in bytes.

    Generated using TypeDoc