MCPcopy Index your code
hub / github.com/github/git-sizer / NewFootnotes

Function NewFootnotes

sizes/footnotes.go:15–19  ·  view source on GitHub ↗

NewFootnotes creates and returns a new `Footnotes` instance.

()

Source from the content-addressed store, hash-verified

13
14// NewFootnotes creates and returns a new `Footnotes` instance.
15func NewFootnotes() *Footnotes {
16 return &Footnotes{
17 indexes: make(map[string]int),
18 }
19}
20
21// CreateCitation adds a footnote with the specified text and returns
22// the string that should be used to refer to it (e.g., "[2]"). If

Callers 1

TableStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected