mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Merge 7de13dd29d
into f609e1ddaf
This commit is contained in:
commit
30dbe9529c
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ impl Cache {
|
||||||
|
|
||||||
/// Create a temporary cache directory.
|
/// Create a temporary cache directory.
|
||||||
pub fn temp() -> Result<Self, io::Error> {
|
pub fn temp() -> Result<Self, io::Error> {
|
||||||
let temp_dir = tempfile::tempdir()?;
|
let temp_dir = tempfile::tempdir_in("")?;
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
root: temp_dir.path().to_path_buf(),
|
root: temp_dir.path().to_path_buf(),
|
||||||
refresh: Refresh::None(Timestamp::now()),
|
refresh: Refresh::None(Timestamp::now()),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue