GitTrailers.Result (GitTrailers v1.0.0)

View Source

The structured result returned by GitTrailers.parse/2.

block_start is the zero-based physical line index of the accepted trailer block, or -1 when no block was found. body excludes the subject, the separating blank line, and the trailer block.

Summary

Types

t()

@type t() :: %GitTrailers.Result{
  block_start: integer(),
  body: binary(),
  has_divider: boolean(),
  subject: binary(),
  trailers: [GitTrailers.Trailer.t()]
}