This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Address []byte | |
// LocalStore just implements a combined memory cache and disk Store | |
// it only stores values on disk if they are Marshalable | |
type LocalStore interface { | |
Get(ref Address) (Chunk, error) | |
Put(ch Chunk) (func() error, error) | |
} |
OlderNewer