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

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

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

Link to this section Functions