Skip to content

getInstallPath() of (possibly root) package #11927

Closed Answered by Seldaek
mvorisek asked this question in Q&A / Support
Discussion options

You must be logged in to vote

The root package is considered to be in getcwd().

findPackage only matches on the name. If you want to include replace/provide you need to use an InstalledRepository and use findPackagesWithReplacersAndProviders

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mvorisek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants