cachemanager

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const MB = 1048576

We use this in conversions

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheManager

type CacheManager struct {
	// contains filtered or unexported fields
}

func MakeCacheManager

func MakeCacheManager() CacheManager

Get a new CacheManager

func (*CacheManager) PruneCache

func (c *CacheManager) PruneCache()

Delete old files and free up space if cache size is too large

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL