MCPcopy Index your code
hub / github.com/antonmedv/gitmal / WriteString

Method WriteString

pkg/gitdiff/format.go:30–33  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

28}
29
30func (fm *formatter) WriteString(s string) (int, error) {
31 fm.Write([]byte(s))
32 return len(s), nil
33}
34
35func (fm *formatter) WriteByte(c byte) error {
36 fm.Write([]byte{c})

Callers 12

WriteQuotedNameMethod · 0.95
FormatFileMethod · 0.95
FormatTextFragmentMethod · 0.95
FormatBinaryFragmentMethod · 0.95
generateCommitPageFunction · 0.80
applyTextLineFunction · 0.80
MessageMethod · 0.80
scanMessageTitleFunction · 0.80
scanMessageBodyFunction · 0.80
ParseNextFileHeaderMethod · 0.80
mainFunction · 0.80

Calls 1

WriteMethod · 0.95

Tested by

no test coverage detected