Files
oak-gpui/crates
Santeri Salmijärvi 13dcb42c1c Change PathLikeWithPosition<P> into a non-generic type and replace ad-hoc Windows path parsing (#15373)
This simplifies `PathWithPosition` by making the common use case
concrete and removing the manual, incomplete Windows path parsing.
Windows paths also don't get '/'s replaced by '\\'s anymore to limit the
responsibility of the code to just parsing out the suffix and creating
`PathBuf` from the rest. `Path::file_name()` is now used to extract the
filename and potential suffix instead of manual parsing from the full
input. This way e.g. Windows paths that begin with a drive letter are
handled correctly without platform-specific hacks.

Release Notes:

- N/A
2024-07-30 16:39:33 +03:00
..
2024-05-29 18:06:45 -07:00
2024-07-23 15:01:05 -07:00
2024-07-26 16:42:21 -07:00
2024-07-23 15:01:05 -07:00
2024-04-30 23:31:59 -06:00
2024-07-23 15:01:05 -07:00
2024-07-28 11:07:10 +02:00
2024-03-11 10:45:57 +01:00
2024-07-15 17:04:15 -06:00
2024-07-28 11:07:10 +02:00
2024-07-25 09:00:53 -06:00
2024-07-26 17:40:38 -04:00
2024-07-26 16:42:21 -07:00
2024-06-21 16:32:32 -07:00
2024-07-26 03:31:41 -04:00
2024-04-15 14:21:52 +02:00
2024-07-29 09:22:25 -06:00