MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / NoteAt

Method NoteAt

commit/parser.go:57–63  ·  view source on GitHub ↗
(index int)

Source from the content-addressed store, hash-verified

55}
56
57func (d *defaultCommit) NoteAt(index int) Note {
58 entry := d.FooterAt(index)
59 return defaultNote{
60 token: entry.Token(),
61 value: entry.Value(),
62 }
63}
64
65func (d *defaultCommit) Notes() []Note {
66 count := d.FooterCount()

Callers

nothing calls this directly

Calls 2

TokenMethod · 0.65
ValueMethod · 0.65

Tested by

no test coverage detected