Fix reference to macOS cache path (#11845)

## Summary

Closes https://github.com/astral-sh/uv/issues/11809.
This commit is contained in:
Charlie Marsh 2025-02-27 21:14:09 -05:00 committed by GitHub
parent b56a0f8877
commit c65dae64fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -218,8 +218,8 @@ pub struct GlobalOptions {
pub no_cache: Option<bool>,
/// Path to the cache directory.
///
/// Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on
/// Linux, and `%LOCALAPPDATA%\uv\cache` on Windows.
/// Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and
/// `%LOCALAPPDATA%\uv\cache` on Windows.
#[option(
default = "None",
value_type = "str",

View file

@ -448,8 +448,8 @@ bypasses SSL verification and could expose you to MITM attacks.
Path to the cache directory.
Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on
Linux, and `%LOCALAPPDATA%\uv\cache` on Windows.
Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and
`%LOCALAPPDATA%\uv\cache` on Windows.
**Default value**: `None`

2
uv.schema.json generated
View file

@ -25,7 +25,7 @@
}
},
"cache-dir": {
"description": "Path to the cache directory.\n\nDefaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux, and `%LOCALAPPDATA%\\uv\\cache` on Windows.",
"description": "Path to the cache directory.\n\nDefaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and `%LOCALAPPDATA%\\uv\\cache` on Windows.",
"type": [
"string",
"null"