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

Behaviour for formatters in versioce

Link to this section Summary

Callbacks

Formats the [Versioce.Changelog.DataGrabber.Version.t()] data for changelog

Formats the Versioce.Changelog.DataGrabber.Version.t() data for changelog

Link to this section Callbacks

Specs

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

Formats the [Versioce.Changelog.DataGrabber.Version.t()] data for changelog

Specs

version_to_str(version :: Versioce.Changelog.DataGrabber.Version.t()) ::
  String.t()

Formats the Versioce.Changelog.DataGrabber.Version.t() data for changelog