Documentation ¶
Index ¶
- func Create(localdir string) error
- type Cache
- func (cache *Cache) Commit() error
- func (cache *Cache) GetBlob(RepositoryUuid string, checksum [32]byte) ([]byte, error)
- func (cache *Cache) GetPath(RepositoryUuid string, checksum string) ([]byte, error)
- func (cache *Cache) GetSnapshot(RepositoryUuid string, Uuid string) ([]byte, error)
- func (cache *Cache) PutBlob(RepositoryUuid string, checksum [32]byte, data []byte) error
- func (cache *Cache) PutPath(RepositoryUuid string, checksum string, data []byte) error
- func (cache *Cache) PutSnapshot(RepositoryUuid string, Uuid string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.