mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Make the cache dir inside project when --no-cache specified
This commit is contained in:
parent
0632e24d15
commit
7de13dd29d
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ impl Cache {
|
|||
|
||||
/// Create a temporary cache directory.
|
||||
pub fn temp() -> Result<Self, io::Error> {
|
||||
let temp_dir = tempfile::tempdir()?;
|
||||
let temp_dir = tempfile::tempdir_in("")?;
|
||||
Ok(Self {
|
||||
root: temp_dir.path().to_path_buf(),
|
||||
refresh: Refresh::None(Timestamp::now()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue