# LayerSource record

> Where a layer's files come from. It's one of four records, and no other kind can be made:

Namespace `EvilEngine.Mounts`, assembly `EvilEngine.Mounts`. Engine commit 4ff877b1.

```csharp
public abstract record LayerSource
```

Where a [layer](/docs/api/layerplan)'s files come from. It's one of four records, and no other kind can be made:

- [Tree](/docs/api/layersource-tree), a source you already hold, such as the probed tree or a folder of it.
- [Container](/docs/api/layersource-container), an archive inside a tree, opened the first time something reads from it.
- [Folder](/docs/api/layersource-folder), a folder on the host by its path.
- [OtherMount](/docs/api/layersource-othermount), another mount's whole tree.
