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

Method WriteByte

pkg/gitdiff/format.go:35–38  ·  view source on GitHub ↗
(c byte)

Source from the content-addressed store, hash-verified

33}
34
35func (fm *formatter) WriteByte(c byte) error {
36 fm.Write([]byte{c})
37 return nil
38}
39
40func (fm *formatter) WriteQuotedName(s string) {
41 qpos := 0

Callers 12

WriteQuotedNameMethod · 0.95
FormatFileMethod · 0.95
FormatTextFragmentMethod · 0.95
FormatBinaryFragmentMethod · 0.95
unquotePairsFunction · 0.80
normalizeSpaceFunction · 0.80
scanMessageTitleFunction · 0.80
scanMessageBodyFunction · 0.80
cleanNameFunction · 0.80
wrapFunction · 0.80
RefToFileNameFunction · 0.80

Calls 1

WriteMethod · 0.95

Tested by

no test coverage detected