Files
oak-gpui/crates
CharlesChen0823 843d299d9a Windows: Fix canonicalize return UNC path (#11083)
In Windows platform, using notify to watch file events. 
1. in [notify windows
implement](https://github.com/notify-rs/notify/blob/3df0f65152c8585cfb29d231c880b86b9164dcfd/notify/src/windows.rs#L344),
we get the full file path, just with `path.join(file_path)`.
2. In [zed worktree
start_backgroud_scan_tasks](https://github.com/zed-industries/zed/blob/d2569afe662be93c926eed1aeb2b17d050ba90b0/crates/worktree/src/worktree.rs#L679),
`abs_path` is not unc path, so we get all file events with not unc path.
3. but in [zed worktree
process_event](https://github.com/zed-industries/zed/blob/d2569afe662be93c926eed1aeb2b17d050ba90b0/crates/worktree/src/worktree.rs#L3619),
we `strip_prefix` unc path all times, it will always print annoy error.

@mikayla-maki I can't reopen pre closed pr #10501 .

Release Notes:

- N/A
2024-05-06 18:25:21 -07:00
..
2024-05-03 12:50:42 -07:00
2024-04-23 15:33:09 -06:00
2024-05-05 15:02:50 +02:00
2024-04-23 13:31:21 -04:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-04-26 13:25:25 -06:00
2024-04-30 23:31:59 -06:00
2024-05-03 12:50:42 -07:00
2024-03-11 10:45:57 +01:00
2024-05-03 12:50:42 -07:00
2024-05-05 15:02:50 +02:00
2024-03-26 16:10:09 -07:00
2024-04-26 13:25:25 -06:00
2024-05-06 12:58:11 +02:00
2024-05-05 15:02:50 +02:00
2024-05-03 12:50:42 -07:00
2024-04-11 23:09:12 +02:00
2024-05-05 15:02:50 +02:00
2024-04-15 14:21:52 +02:00
2024-05-03 12:50:42 -07:00