Current section
Files
Jump to
Current section
Files
lib/utils/state.ex
defmodule Utils.State do
@moduledoc """
Specifies the fields needed for state of a commit
"""
defstruct type: nil,
scope: nil,
description: nil,
body: nil,
footer: nil,
required_footer: false,
required_body: false,
scoped: false,
breaking: false,
breaking_change_in_footer: false
@type t() :: %__MODULE__{
type: atom(),
scope: String.t(),
body: String.t(),
description: String.t(),
footer: String.t(),
required_footer: boolean(),
required_body: boolean(),
scoped: boolean(),
breaking: boolean(),
breaking_change_in_footer: boolean()
}
end