Versioce.Changelog.DataGrabber behaviour (Versioce v2.0.0) View Source

Behaviour for datagrabbers in versioce

Link to this section Summary

Callbacks

Gets data for a single version.

Gets data for changelog generation.

Link to this section Callbacks

Specs

get_version(version :: String.t()) ::
  {:ok, Versioce.Changelog.DataGrabber.Version.t()} | {:error, any()}

Gets data for a single version.

Link to this callback

get_versions(unreleased_to)

View Source

Specs

get_versions(unreleased_to :: String.t()) ::
  {:ok, [Versioce.Changelog.DataGrabber.Version.t()]} | {:error, any()}

Gets data for changelog generation.