# fs.path: Fix on big-endian architectures, make PathType.isSep assume WTF-16 is LE · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/822f41242438faeaaf9846e3ebed454b59525ba7)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 822f41242438faeaaf9846e3ebed454b59525ba7

Requested commit: 822f41242438faeaaf9846e3ebed454b59525ba7

Commit: 822f41242438faeaaf9846e3ebed454b59525ba7

Tree: c9362b426eddea0b650c0c649be3fc2524f41890

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
fs.path: Fix on big-endian architectures, make PathType.isSep assume WTF-16 is LE

This commit flips usage of PathType.isSep from requiring the caller to convert to native to assuming the input is LE encoded, which is a breaking change. This makes usage a bit nicer, though, and moves the endian conversion work from runtime to comptime.

```

## Parents

- [59b8bed222137061d74002a40544b5ea30eab666](https://git.cafe/gitcafe/zig/commit/59b8bed222137061d74002a40544b5ea30eab666?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/822f41242438faeaaf9846e3ebed454b59525ba7?format=markdown)
