mirror of https://github.com/astral-sh/uv
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
|
|
@ -218,8 +218,8 @@ pub struct GlobalOptions {
|
||||||
pub no_cache: Option<bool>,
|
pub no_cache: Option<bool>,
|
||||||
/// Path to the cache directory.
|
/// Path to the cache directory.
|
||||||
///
|
///
|
||||||
/// Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on
|
/// Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and
|
||||||
/// Linux, and `%LOCALAPPDATA%\uv\cache` on Windows.
|
/// `%LOCALAPPDATA%\uv\cache` on Windows.
|
||||||
#[option(
|
#[option(
|
||||||
default = "None",
|
default = "None",
|
||||||
value_type = "str",
|
value_type = "str",
|
||||||
|
|
|
||||||
|
|
@ -448,8 +448,8 @@ bypasses SSL verification and could expose you to MITM attacks.
|
||||||
|
|
||||||
Path to the cache directory.
|
Path to the cache directory.
|
||||||
|
|
||||||
Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on
|
Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and
|
||||||
Linux, and `%LOCALAPPDATA%\uv\cache` on Windows.
|
`%LOCALAPPDATA%\uv\cache` on Windows.
|
||||||
|
|
||||||
**Default value**: `None`
|
**Default value**: `None`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cache-dir": {
|
"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": [
|
"type": [
|
||||||
"string",
|
"string",
|
||||||
"null"
|
"null"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue