mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-14 17:59:46 +00:00
parent
987d778631
commit
dcd24b7c42
9 changed files with 171 additions and 127 deletions
|
|
@ -1995,8 +1995,8 @@ pub fn prune(cache: &Cache) -> Result<Removal, Error> {
|
|||
"Removing dangling source revision: {}",
|
||||
sibling.path().display()
|
||||
);
|
||||
removal +=
|
||||
uv_cache::rm_rf(sibling.path()).map_err(Error::CacheWrite)?;
|
||||
removal += uv_cache::rm_rf(sibling.path(), None)
|
||||
.map_err(Error::CacheWrite)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2020,8 +2020,8 @@ pub fn prune(cache: &Cache) -> Result<Removal, Error> {
|
|||
"Removing dangling source revision: {}",
|
||||
sibling.path().display()
|
||||
);
|
||||
removal +=
|
||||
uv_cache::rm_rf(sibling.path()).map_err(Error::CacheWrite)?;
|
||||
removal += uv_cache::rm_rf(sibling.path(), None)
|
||||
.map_err(Error::CacheWrite)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue