package
Version:
v0.4.21-alpha
Opens a new window with list of versions in this module.
Published: Oct 23, 2024
License: ISC
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
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) GetIndex(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) PutIndex(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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.