Documentation
¶
Index ¶
- func Create(localdir string) error
- type Cache
- func (cache *Cache) Commit() error
- func (cache *Cache) GetFilesystem(RepositoryUuid string, Uuid string) ([]byte, error)
- func (cache *Cache) GetIndex(RepositoryUuid string, Uuid string) ([]byte, error)
- func (cache *Cache) GetMetadata(RepositoryUuid string, Uuid string) ([]byte, error)
- func (cache *Cache) GetObject(RepositoryUuid string, checksum string) ([]byte, error)
- func (cache *Cache) GetPath(RepositoryUuid string, checksum string) ([]byte, error)
- func (cache *Cache) PutFilesystem(RepositoryUuid string, Uuid string, data []byte) error
- func (cache *Cache) PutIndex(RepositoryUuid string, Uuid string, data []byte) error
- func (cache *Cache) PutMetadata(RepositoryUuid string, Uuid string, data []byte) error
- func (cache *Cache) PutObject(RepositoryUuid string, checksum string, data []byte) error
- func (cache *Cache) PutPath(RepositoryUuid string, checksum string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetFilesystem ¶
func (*Cache) GetMetadata ¶
func (*Cache) PutFilesystem ¶
func (*Cache) PutMetadata ¶
Click to show internal directories.
Click to hide internal directories.