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

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.

Summary

Types

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

Functions