ReadData will attempt to read arbitrary data from the given hash
(hash repository.Hash)
| 62 | |
| 63 | // ReadData will attempt to read arbitrary data from the given hash |
| 64 | func (c *RepoCache) ReadData(hash repository.Hash) ([]byte, error) { |
| 65 | return c.repo.ReadData(hash) |
| 66 | } |
| 67 | |
| 68 | // StoreData will store arbitrary data and return the corresponding hash |
| 69 | func (c *RepoCache) StoreData(data []byte) (repository.Hash, error) { |