MemoryObject on memory Object implementation
| 7 | |
| 8 | // MemoryObject on memory Object implementation |
| 9 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected