mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
parent
4d3ddd50cb
commit
f6fce8be9e
1 changed files with 12 additions and 0 deletions
|
@ -52,6 +52,18 @@ impl DependencyGraphNode {
|
|||
name: &PackageNames,
|
||||
version: &Version,
|
||||
) -> PathBuf {
|
||||
if self.pkg_ref.like_wally() {
|
||||
return path
|
||||
.as_ref()
|
||||
.join(format!(
|
||||
"{}_{}@{}",
|
||||
name.as_str().0,
|
||||
name.as_str().1,
|
||||
version
|
||||
))
|
||||
.join(name.as_str().1);
|
||||
}
|
||||
|
||||
path.as_ref()
|
||||
.join(name.escaped())
|
||||
.join(version.to_string())
|
||||
|
|
Loading…
Reference in a new issue