Copyright © 2014 Erlware, LLC.
This module defines the ec_vsn behaviour.
Required callback functions: new/0, vsn/1.
Authors: Eric Merritt (ericbmerritt@gmail.com).
Provides a signature to manage returning semver formatted versions from various version control repositories.
This interface is a member of the Erlware Commons Library.t() = #t{}
behaviour_info/1 | |
new/1 | create a new dictionary object from the specified module. |
vsn/1 | Return the semver or an error depending on what is possible with this implementation in this directory. |
behaviour_info(Other::atom()) -> [{atom(), arity()}] | undefined
new(ModuleName::module()) -> t()
ModuleName: The module name.
create a new dictionary object from the specified module. The module should implement the dictionary behaviour.
vsn(T::t()) -> {ok, string()} | {error, Reason::any()}
Return the semver or an error depending on what is possible with this implementation in this directory.
Generated by EDoc, May 1 2024, 06:09:58.