Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheFileSystem ¶
type CacheFileSystem struct {
// contains filtered or unexported fields
}
func NewCacheFileSystem ¶
func NewCacheFileSystem(cacheDir string) (*CacheFileSystem, error)
func NewModelCache ¶
func NewModelCache(user string, modelName string) (*CacheFileSystem, error)
func (*CacheFileSystem) GetHashes ¶
func (c *CacheFileSystem) GetHashes() ([]string, error)
type CachingZip ¶
type CachingZip struct {
// contains filtered or unexported fields
}
func NewCachingZip ¶
func NewCachingZip() *CachingZip
func (*CachingZip) ReaderUnarchive ¶
func (z *CachingZip) ReaderUnarchive(source io.Reader, size int64, destination string, cacheFS *CacheFileSystem) error
func (*CachingZip) WriterArchive ¶
Click to show internal directories.
Click to hide internal directories.