mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 04:17:37 +00:00
Add missing "directory" branch in source match (#3608)
## Summary Just my oversight.
This commit is contained in:
parent
d76b023cd6
commit
647f38be31
1 changed files with 4 additions and 0 deletions
|
|
@ -461,6 +461,10 @@ impl std::str::FromStr for Source {
|
|||
kind: SourceKind::Path,
|
||||
url,
|
||||
}),
|
||||
"directory" => Ok(Source {
|
||||
kind: SourceKind::Directory,
|
||||
url,
|
||||
}),
|
||||
name => Err(SourceParseError::unrecognized_source_name(s, name)),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue