Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-git/go-git
/ Write
Method
Write
utils/ioutil/common.go:203–210 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
201
}
202
203
func
(r *writerOnError) Write(p []byte) (n int, err error) {
204
n, err = r.Writer.Write(p)
205
if
err != nil && err != io.EOF {
206
r.notify(err)
207
}
208
209
return
210
}
Callers
15
Hash
Method · 0.45
calculateHash
Method · 0.45
doCalculateHashForSymlink
Method · 0.45
WriteFile
Function · 0.45
TestRacyGit
Method · 0.45
TestZeroIndexModTime
Method · 0.45
TestRead
Method · 0.45
TestReadUint32
Method · 0.45
TestReadUint16
Method · 0.45
TestReadHash
Method · 0.45
TestIsBinary
Method · 0.45
TestWrite
Method · 0.45
Calls
no outgoing calls
Tested by
14
WriteFile
Function · 0.36
TestRacyGit
Method · 0.36
TestZeroIndexModTime
Method · 0.36
TestRead
Method · 0.36
TestReadUint32
Method · 0.36
TestReadUint16
Method · 0.36
TestReadHash
Method · 0.36
TestIsBinary
Method · 0.36
TestWrite
Method · 0.36
TestWriteUint32
Method · 0.36
TestWriteUint16
Method · 0.36
TestNewContextWriter
Method · 0.36