Skip to content

Commit c65dae6

Browse files
Fix reference to macOS cache path (astral-sh#11845)
## Summary Closes astral-sh#11809.
1 parent b56a0f8 commit c65dae6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/uv-settings/src/settings.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ pub struct GlobalOptions {
218218
pub no_cache: Option<bool>,
219219
/// Path to the cache directory.
220220
///
221-
/// Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on
222-
/// Linux, and `%LOCALAPPDATA%\uv\cache` on Windows.
221+
/// Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and
222+
/// `%LOCALAPPDATA%\uv\cache` on Windows.
223223
#[option(
224224
default = "None",
225225
value_type = "str",

docs/reference/settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ bypasses SSL verification and could expose you to MITM attacks.
448448

449449
Path to the cache directory.
450450

451-
Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on
452-
Linux, and `%LOCALAPPDATA%\uv\cache` on Windows.
451+
Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and
452+
`%LOCALAPPDATA%\uv\cache` on Windows.
453453

454454
**Default value**: `None`
455455

uv.schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)