use of org.wso2.ballerinalang.compiler.packaging.GenericPackageSource in project ballerina by ballerina-lang.
the class PackageLoader method loadPackageEntity.
private PackageEntity loadPackageEntity(PackageID pkgId) {
updateVersionFromToml(pkgId);
Resolution resolution = repos.resolve(pkgId);
if (resolution == Resolution.NOT_FOUND) {
return null;
}
return new GenericPackageSource(pkgId, resolution.sources, resolution.resolvedBy);
}
Aggregations