1.7.5.8 resolve_lock(Plugin, Resolve, Project, Kind, Package)

-spec resolve_lock(anvl_plugin:t(),
                   fun(() -> Hash), anvl_project:t(),
                   kind(), Package) -> {Changed,
                                        Hash} when Package ::
                                                       atom() |
                                                       binary() |
                                                       string(),
                                                   Changed ::
                                                       boolean(),
                                                   Hash ::
                                                       binary().

A helper function that plugins can use to implement dependency locking.

If plugin uses this function, it must implement the following callback:

resolve_version(Package, Tag) -> binary()

JavaScript license information