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

Method NoteAt

test/helpers_test.go:82–82  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

80
81func (m *mockCommit) NoteCount() int { return len(m.notes) }
82func (m *mockCommit) NoteAt(i int) lint.Note { return m.notes[i] }
83
84// mockNote implements lint.Note for testing
85type mockNote struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected