MCPcopy
hub / github.com/go-git/go-git / Write

Method Write

storage/filesystem/dotgit/writers.go:91–93  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

89}
90
91func (w *PackWriter) Write(p []byte) (int, error) {
92 return w.synced.Write(p)
93}
94
95// Close closes all the file descriptors and save the final packfile, if nothing
96// was written, the tempfiles are deleted without writing a packfile.

Callers 13

SetConfigMethod · 0.45
setRefRwfsMethod · 0.45
setRefNorwfsMethod · 0.45
WriteMethod · 0.45
TestNewObjectMethod · 0.45
testAlternatesFunction · 0.45
TestAlternatesDupesFunction · 0.45
TestIssue55Function · 0.45
TestSyncedReaderMethod · 0.45

Calls

no outgoing calls

Tested by 9

TestNewObjectMethod · 0.36
testAlternatesFunction · 0.36
TestAlternatesDupesFunction · 0.36
TestIssue55Function · 0.36
TestSyncedReaderMethod · 0.36