public LocalPackageInfo SaveRemotePackage(PackageHashes packageHashes, PackageMeta meta) { // register LocalPackageInfo package; lock (packagesLock) { package = localPackageManager.RegisterPackage(packageHashes, meta); RegisterPackageInternal(package); } return(package); }