MCPcopy Create free account
hub / github.com/libgit2/git2go / Write

Method Write

http.go:167–172  ·  view source on GitHub ↗
(buf []byte)

Source from the content-addressed store, hash-verified

165}
166
167func (self *httpSmartSubtransportStream) Write(buf []byte) (int, error) {
168 if self.httpError != nil {
169 return 0, self.httpError
170 }
171 return self.writer.Write(buf)
172}
173
174func (self *httpSmartSubtransportStream) Free() {
175 if self.resp != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected