MCPcopy Create free account
hub / github.com/go-git/go-git / Write

Method Write

plumbing/object/tree_test.go:193–193  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

191}
192func (o *SortReadObject) Writer() (io.WriteCloser, error) { return o, nil }
193func (o *SortReadObject) Write(p []byte) (n int, err error) { return len(p), nil }
194func (o *SortReadObject) Close() error { return nil }
195
196// a ReadCloser that only returns 6 bytes at a time, to simulate incomplete reads.

Callers 4

makeFileFunction · 0.45
EncodeMethod · 0.45
TestBlobHashMethod · 0.45
DecodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected