Add a reflink alias for the "clone" link mode (#17724)

Closes https://github.com/astral-sh/uv/issues/17722
This commit is contained in:
Zanie Blue
2026-01-28 10:11:27 -06:00
committed by GitHub
parent c377edcd50
commit 583414f2be
+3 -1
View File
@@ -250,7 +250,9 @@ impl Locks {
#[cfg_attr(feature = "clap", derive(clap::ValueEnum))]
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
pub enum LinkMode {
/// Clone (i.e., copy-on-write) packages from the wheel into the `site-packages` directory.
/// Clone (i.e., copy-on-write or reflink) packages from the wheel into the `site-packages` directory.
#[serde(alias = "reflink")]
#[cfg_attr(feature = "clap", value(alias = "reflink"))]
Clone,
/// Copy packages from the wheel into the `site-packages` directory.
Copy,