Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheLocation ¶
CacheLocation represents a cache directory location with its path and type
type CacheType ¶
type CacheType string
CacheType represents the type of cache (system or application)
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles cache operations for different operating systems
func NewCacheManager ¶
func NewCacheManager(fm filemanager.FileManager) *Manager
NewCacheManager creates a new cache manager instance for the current OS
func (*Manager) ClearCache ¶
ClearCache removes all files from cache locations using OS-specific deletion methods
func (*Manager) ScanAllLocations ¶
func (m *Manager) ScanAllLocations() []ScanResult
ScanAllLocations concurrently scans all cache locations and returns their statistics
Click to show internal directories.
Click to hide internal directories.