---
title: FileList
framework: swift-package-manager
role: symbol
role_heading: Structure
path: swift-package-manager/documentation/packageplugin/filelist
---

# FileList

Provides information about a list of files.

## Declaration

```swift
struct FileList
```

## Overview

Overview The order is not defined but is guaranteed to be stable. This allows the implementation to be more efficient than a static file list.

## Topics

### Default Implementations

- [BidirectionalCollection Implementations](swift-package-manager/documentation/packageplugin/filelist/bidirectionalcollection-implementations.md)
- [Collection Implementations](swift-package-manager/documentation/packageplugin/filelist/collection-implementations.md)
- [RandomAccessCollection Implementations](swift-package-manager/documentation/packageplugin/filelist/randomaccesscollection-implementations.md)
- [Sequence Implementations](swift-package-manager/documentation/packageplugin/filelist/sequence-implementations.md)

## Relationships

### Conforms To

- Swift.BidirectionalCollection
- Swift.Collection
- Swift.Copyable
- Swift.Escapable
- Swift.RandomAccessCollection
- Swift.Sequence

## See Also

### Inspecting Package Files

- [File](swift-package-manager/documentation/packageplugin/file.md)
- [FileType](swift-package-manager/documentation/packageplugin/filetype.md)
- [Path](swift-package-manager/documentation/packageplugin/path.md)
- [PathList](swift-package-manager/documentation/packageplugin/pathlist.md)
