# path_case_conflict

> Two file paths are equal after ASCII case-folding.

Two file paths are equal after ASCII case-folding.

| | |
| --- | --- |
| Kind | Build or validation problem |
| Reported by | Archive and source validation |
| `disko` exit code | 1 (problems) |

Two files have paths that differ only by letter case, such as `art/Puck.png`
and `art/puck.png`. Case-insensitive file systems cannot hold both, so a
package may not contain them.

## Why it happens

It is reported for archives and for the files a build reaches from the entry.
On a case-sensitive file system (for example Linux) both files can exist side
by side and both can be imported.

## Wrong

```text
art/Puck.png
art/puck.png
```

## Right

```text
art/puck-blue.png
art/puck-red.png
```

Rename one of the files and update the imports that name it.

## See also

- [Project structure & imports](/games/project-structure)
- [`source_case_mismatch`](/errors/source_case_mismatch)
