# Add Windows specific path parsing \(\#11119\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9edd81c74032d749d18c51e32f64ad74cc81f9c0)

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

Visibility: public

Requested revision: 9edd81c74032d749d18c51e32f64ad74cc81f9c0

Requested commit: 9edd81c74032d749d18c51e32f64ad74cc81f9c0

Commit: 9edd81c74032d749d18c51e32f64ad74cc81f9c0

Tree: d1ec58190877ad2ccefed9f3d3253502a549e47c

Author: Tim

Committer: GitHub

## Message

```
Add Windows specific path parsing (#11119)

Since Windows paths are known to be weird and currently not handled at
all (outside of relative paths that just happen to work), I figured I
would add a windows specific implementation for parsing absolute paths.
It should be functionally the same, of course there's always a chance I
missed an edge case though.

This should fix
- #10849

Note that there are still some cases that will probably break the
current implementation, namely local drives that do not have a drive
letter assigned (not sure how to handle those). There's also UNC paths
but I don't know how important those are at the moment (I'll allow
myself to assume not at all)

Release Notes:

- N/A
```

## Parents

- [11bc28080ff43b4c787eaa35868e3b1d6cf48355](https://git.cafe/gitcafe/zed/commit/11bc28080ff43b4c787eaa35868e3b1d6cf48355?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9edd81c74032d749d18c51e32f64ad74cc81f9c0?format=markdown)
