ZIm/crates/util/src
ElKowar b29643168c
XDG_BASE_DIR support (linux, windows) (#10808)
This PR adds XDG_BASE_DIR support on linux, and cleans up the path
declarations slightly. Additionally, we move the embeddings and
conversations directly to the SUPPORT_DIR on those platforms.
I _think_ that should also be done on MacOS in the future, but that has
been left out here for now to not break existing users setups.

Additionally, we move the SUPPORT_DIR into LocalAppData on windows for
consistency.

Release Notes:

- Fixed missing support of `XDG_BASE_DIR` on linux
- Fixed improper placement of data in XDG_CONFIG_HOME on linux and
windows (https://github.com/zed-industries/zed/issues/9308,
https://github.com/zed-industries/zed/issues/7155)

---------

Co-authored-by: phisch <philipp.schaffrath@gmail.com>
2024-04-22 12:42:18 -07:00
..
test Fix Clippy warnings in util crate (#8721) 2024-03-02 13:06:35 -05:00
arc_cow.rs Add logic for managing language and theme extensions (#7467) 2024-02-07 15:14:50 -05:00
fs.rs chore: Clean up util dependencies. (#9247) 2024-03-13 00:10:49 +01:00
github.rs git blame: Display GitHub avatars in blame tooltips, if available (#10767) 2024-04-19 15:15:19 +02:00
http.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
paths.rs XDG_BASE_DIR support (linux, windows) (#10808) 2024-04-22 12:42:18 -07:00
test.rs Fix Clippy warnings in util crate (#8721) 2024-03-02 13:06:35 -05:00
util.rs Add a few tests to cover other folder names (#10356) 2024-04-10 18:47:53 -04:00