Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
16
func
newFormatter(w io.Writer) *formatter {
17
return
&formatter{w: w}
18
}
19
20
func
(fm *formatter) Write(p []byte) (int, error) {
21
if
fm.err != nil {
Callers
5
TestFormatter_WriteQuotedName
Function · 0.85
String
Method · 0.85
String
Method · 0.85
Header
Method · 0.85
String
Method · 0.85
Calls
no outgoing calls
Tested by
1
TestFormatter_WriteQuotedName
Function · 0.68