---
title: ListResult
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/file-storage/src/lib/file-storage.ts#L165
---

# ListResult

## Summary

The result of listing files in storage.

## Signature

```ts
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.