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

Function NewEncodedObject

storage/filesystem/dotgit/reader.go:72–79  ·  view source on GitHub ↗
(dir *DotGit, h plumbing.Hash, t plumbing.ObjectType, size int64)

Source from the content-addressed store, hash-verified

70}
71
72func NewEncodedObject(dir *DotGit, h plumbing.Hash, t plumbing.ObjectType, size int64) *EncodedObject {
73 return &EncodedObject{
74 dir: dir,
75 h: h,
76 t: t,
77 sz: size,
78 }
79}

Callers 1

getFromUnpackedMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected