mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 20:31:12 +00:00
Ban --no-cache with --link-mode=symlink (#5519)
## Summary Closes https://github.com/astral-sh/uv/issues/5360.
This commit is contained in:
parent
4b4128446d
commit
b0c841ee3b
6 changed files with 76 additions and 7 deletions
|
|
@ -258,6 +258,11 @@ impl LinkMode {
|
|||
Self::Symlink => symlink_wheel_files(site_packages, wheel, locks),
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns `true` if the link mode is [`LinkMode::Symlink`].
|
||||
pub fn is_symlink(&self) -> bool {
|
||||
matches!(self, Self::Symlink)
|
||||
}
|
||||
}
|
||||
|
||||
/// Extract a wheel by cloning all of its files into site packages. The files will be cloned
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue