Current section
Files
Jump to
Current section
Files
lib/changix/entry.ex
defmodule Changix.Entry do
@moduledoc """
Struct for a single changelog entry (ie. a single changelog file).
"""
defstruct [
:changed_at,
:path,
:kind,
:kind_label,
:title,
:content,
:summary_html,
:full_html
]
@doc """
Returns a list of required header fields.
"""
def required_headers, do: ~w(changed_at kind path)a
end