MCPcopy Create free account
hub / github.com/antonmedv/gitmal / newFormatter

Function newFormatter

pkg/gitdiff/format.go:16–18  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

14}
15
16func newFormatter(w io.Writer) *formatter {
17 return &formatter{w: w}
18}
19
20func (fm *formatter) Write(p []byte) (int, error) {
21 if fm.err != nil {

Callers 5

StringMethod · 0.85
StringMethod · 0.85
HeaderMethod · 0.85
StringMethod · 0.85

Calls

no outgoing calls

Tested by 1