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

Method Close

plumbing/object/tree_test.go:194–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.
197type SortReadCloser struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected