Peeking into Julia's registry
As we were saying, we need a way to retrieve the GitHub URI of a package, based on the package's name. Now, given that we're able to successfully execute operations such as add and develop with Pkg, without having to provide the GitHub URI, we can assume that there is a way to convert a package name to a package URL.
Indeed, Julia manages a repository of all the packages that are known to Pkg. These packages are grouped into multiple registries that are copied to your computer. By default, Julia comes with the so-called General registry, which can be found in the .julia/ folder in your home directory. The General registry itself is nothing but a folder that contains subfolders named after each letter in the English ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access