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

Struct ObjectStorage

storage/memory/storage.go:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89type ObjectStorage struct {
90 Objects map[plumbing.Hash]plumbing.EncodedObject
91 Commits map[plumbing.Hash]plumbing.EncodedObject
92 Trees map[plumbing.Hash]plumbing.EncodedObject
93 Blobs map[plumbing.Hash]plumbing.EncodedObject
94 Tags map[plumbing.Hash]plumbing.EncodedObject
95}
96
97func (o *ObjectStorage) NewEncodedObject() plumbing.EncodedObject {
98 return &plumbing.MemoryObject{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected