This repository was archived by the owner on May 29, 2023. It is now read-only.

Description
I have a lot of packages in the /Users/xxx/.pub-cache/hosted/pub.dev/, but the getPackageRefs and getAllPackageVersions return empty collection.
var cache = PubCache();
var refs = cache.getPackageRefs();
var versions = cache.getAllPackageVersions("<the package name i.e. libgit2dart>");
Versions:
- pub-cache: 0.3.1
- MacOS: 12.6.2
I tried chmod -R 777 ~/.pub-cache just in case it's a permission issue, but still didn't work.