ListResult

View Source

Summary

The result of listing files in storage.

Signature

interface ListResult<T> {
  cursor?: string;
  files: (T extends { includeMetadata: true } ? FileMetadata : FileKey)[];
}

Properties

cursor

An opaque string that allows you to paginate over the keys in storage. Pass this back in the options object on the next list() call to get the next page of results.

files

A list of the files in storage.