# windows: Fix inconsistent separators in buffer headers and breadcrumbs \(\#38898\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d83d7d35cb9ddfc6edf6a0963b3d008caa327743

Requested commit: d83d7d35cb9ddfc6edf6a0963b3d008caa327743

Commit: d83d7d35cb9ddfc6edf6a0963b3d008caa327743

Tree: 68bc8cf52ed5829db1e10c5c8d86666ef29346b3

Author: Cole Miller

Committer: GitHub

## Message

```
windows: Fix inconsistent separators in buffer headers and breadcrumbs (#38898)

Make `resolve_full_path` use the appropriate separators, and return a
`String`.

As part of fixing the fallout from that type change, this also fixes a
bunch of places in the agent code that were using `std::path::Path`
operations on paths that could be non-local, by changing them to operate
instead on strings and use the project's `PathStyle`.

This clears the way a bit for making `full_path` also return a string
instead of a `PathBuf`, but I've left that for a follow-up.

Release Notes:

- N/A
```

## Parents

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

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