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

Struct MemoryObject

plumbing/memory.go:9–14  ·  view source on GitHub ↗

MemoryObject on memory Object implementation

Source from the content-addressed store, hash-verified

7
8// MemoryObject on memory Object implementation
9type MemoryObject struct {
10 t ObjectType
11 h Hash
12 cont []byte
13 sz int64
14}
15
16// Hash returns the object Hash, the hash is calculated on-the-fly the first
17// time it's called, in all subsequent calls the same Hash is returned even

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected