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

Method Write

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

Source from the content-addressed store, hash-verified

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

Callers 12

stripHeaderSignaturesFunction · 0.45
makeFileFunction · 0.45
scanMessageFunction · 0.45
EncodeMethod · 0.45
TestBlobHashMethod · 0.45
scanTagMessageFunction · 0.45
encodeRawTreeEntriesFunction · 0.45
newRawTreeObjectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected