# CaseRule enum

> Whether two paths that differ only in case name the same file. Every IFileSource has one, a MountPlan gives the whole mount one, and a Platform carries the one its games' files follow. VirtualPath turns a rule into the comparer or comparison to use, so code compares paths through it rather than by their text.

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

```csharp
public enum CaseRule
```

Whether two paths that differ only in case name the same file. Every [IFileSource](/docs/api/ifilesource) has one, a [MountPlan](/docs/api/mountplan) gives the whole mount one, and a [Platform](/docs/api/platform) carries the one its games' files follow. [VirtualPath](/docs/api/virtualpath) turns a rule into the comparer or comparison to use, so code compares paths through it rather than by their text.

Host folders a game is probed from are read case-insensitively, and every adapter here plans its mount under its platform's rule: insensitive for `pc`, sensitive for `ps3`.

## Members

### Sensitive (value)

```csharp
Sensitive = 0
```

`maps/E1M1.bsp` and `maps/e1m1.bsp` are two files. Paths compare ordinally. A Plugin's own content folder and an adapter's in-memory content are read this way, and so is a PS3 game.

### Insensitive (value)

```csharp
Insensitive = 1
```

`maps/E1M1.bsp` and `maps/e1m1.bsp` are the same file. Paths compare ordinally, ignoring case. Every `pc` game reads this way, whatever the host's own filesystem does.
