mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 05:03:46 +00:00
Fix reference to macOS cache path (#11845)
## Summary Closes https://github.com/astral-sh/uv/issues/11809.
This commit is contained in:
parent
b56a0f8877
commit
c65dae64fe
3 changed files with 5 additions and 5 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
2
uv.schema.json
generated
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue