Rename Workspace.root to Workspace.install_path (#4859)

Renaming in preparation of #4833, which adds a `Workspace.lock_path`. No
functional changes.
This commit is contained in:
konsti 2024-07-07 20:35:41 +02:00 committed by GitHub
parent 91e4d880a9
commit d787e69f7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 24 additions and 23 deletions

View file

@ -394,7 +394,7 @@ impl Lock {
}
let name = dist.id.name.clone();
let resolved_dist =
ResolvedDist::Installable(dist.to_dist(project.workspace().root(), tags)?);
ResolvedDist::Installable(dist.to_dist(project.workspace().install_path(), tags)?);
map.insert(name, resolved_dist);
}
let diagnostics = vec![];