Versions in this module Expand all Collapse all v0 v0.4.4 May 14, 2025 Changes in this version + const CURRENT_CACHE_VERSION + var ColferListMax = 64 * 1024 + var ColferSizeMax = 16 * 1024 * 1024 + type CacheEntry struct + CacheKey string + InstalledFiles *InstalledFilesCache + func (o *CacheEntry) MarshalBinary() (data []byte, err error) + func (o *CacheEntry) MarshalLen() (int, error) + func (o *CacheEntry) MarshalTo(buf []byte) int + func (o *CacheEntry) Unmarshal(data []byte) (int, error) + func (o *CacheEntry) UnmarshalBinary(data []byte) error + type ColferError int + func (i ColferError) Error() string + type ColferMax string + func (m ColferMax) Error() string + type ColferTail int + func (i ColferTail) Error() string + type DootCache struct + Entries []*CacheEntry + Version uint32 + func Load() DootCache + func (cache *DootCache) GetEntry(cacheKey string) *InstalledFilesCache + func (cache *DootCache) Save() + func (o *DootCache) MarshalBinary() (data []byte, err error) + func (o *DootCache) MarshalLen() (int, error) + func (o *DootCache) MarshalTo(buf []byte) int + func (o *DootCache) Unmarshal(data []byte) (int, error) + func (o *DootCache) UnmarshalBinary(data []byte) error + type InstalledFile struct + Content string + Path string + func (o *InstalledFile) MarshalBinary() (data []byte, err error) + func (o *InstalledFile) MarshalLen() (int, error) + func (o *InstalledFile) MarshalTo(buf []byte) int + func (o *InstalledFile) Unmarshal(data []byte) (int, error) + func (o *InstalledFile) UnmarshalBinary(data []byte) error + type InstalledFilesCache struct + Links []*InstalledFile + func (filesCache *InstalledFilesCache) GetLinks() SymlinkCollection + func (filesCache *InstalledFilesCache) SetLinks(links SymlinkCollection) + func (o *InstalledFilesCache) MarshalBinary() (data []byte, err error) + func (o *InstalledFilesCache) MarshalLen() (int, error) + func (o *InstalledFilesCache) MarshalTo(buf []byte) int + func (o *InstalledFilesCache) Unmarshal(data []byte) (int, error) + func (o *InstalledFilesCache) UnmarshalBinary(data []byte) error