Documentation ¶
Overview ¶
Package cache provides functionality for managing a cache located on the file system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache represents a cache located on the file system.
func New ¶
New creates an uninitialized cache.
If location is an empty string the location will default to the user's home directory.
If ephemeral is set the cache will be located in a unique directory in the system's temporary directory (and the given location is ignored).
Click to show internal directories.
Click to hide internal directories.