GitOps.Commit (Git Ops v2.1.0) View Source

Manages the structure, parsing, and formatting of commits.

Using parse/1 you can parse a commit struct out of a commit message

Using format/1 you can format a commit struct in the way that the changelog expects.

Link to this section Summary

Link to this section Types

Specs

t() :: %GitOps.Commit{
  body: term(),
  breaking?: term(),
  footer: term(),
  message: term(),
  scope: term(),
  type: term()
}

Link to this section Functions