Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileBlockCache ¶
type FileBlockCache struct {
// contains filtered or unexported fields
}
func NewFileBlockCache ¶
func NewFileBlockCache(cfg *config.Wrapper, db *bolt.DB, fldrCfg config.FolderConfiguration) (*FileBlockCache, error)
func (*FileBlockCache) AddCachedFileData ¶
func (d *FileBlockCache) AddCachedFileData(block protocol.BlockInfo, data []byte)
func (*FileBlockCache) GetCachedBlockData ¶
func (d *FileBlockCache) GetCachedBlockData(blockHash []byte) ([]byte, bool)
Click to show internal directories.
Click to hide internal directories.