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

Struct ObjectStorage

storage/memory/storage.go:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected