anvl_hex_pm ¶A client for hex.pm.
-type provides() :: undefined |
[anvl_erlc:application()].
-type lock() :: binary().
Hex lock is a binary consisting of hex-encoded SHA256 hash of the tarball, followed by dash and SemVer version.
For example: e87a9dd6e7fe9c5804887850d4cdbcd83db4da7a27f928174f11e4e06fb7902e-2.10.0
-type version() :: string() | latest.
-type package() :: atom().
-spec unpacked(anvl_project:t(), anvl_locate:kind(),
package(), version()) -> anvl_condition:t().
Condition: tarball locked, downloaded and unpacked to a local project directory.
-spec lock(package(), version()) -> lock().
Query hex.pm for a lock matching a version (range) of a package.