whyrusleeping / gx

A package management tool
MIT License
1.88k stars 110 forks source link

Split `FindPackageInDir` #191

Open schomatis opened 6 years ago

schomatis commented 6 years ago

Right now this function is handling two different scenarios, either at the hash directory or at the package name directory (inside the hash directory), if there is not a clear reason why the calling function wouldn't know where it's standing a more specific function should be used, and this one reserved for the (rare) ambiguous case.