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

Method Reader

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

Source from the content-addressed store, hash-verified

152type fakeEncodedObject struct{ plumbing.EncodedObject }
153
154func (fe fakeEncodedObject) Reader() (io.ReadCloser, error) {
155 return nil, errors.New("Simulate encoded object can't be read")
156}
157
158func (s *TreeSuite) TestDir(c *C) {
159 vendor, err := s.Tree.dir("vendor")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected