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

Method Writer

storage/filesystem/dotgit/reader.go:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66func (e *EncodedObject) SetSize(int64) {}
67
68func (e *EncodedObject) Writer() (io.WriteCloser, error) {
69 return nil, fmt.Errorf("not supported")
70}
71
72func NewEncodedObject(dir *DotGit, h plumbing.Hash, t plumbing.ObjectType, size int64) *EncodedObject {
73 return &EncodedObject{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected