Documentation ¶
Overview ¶
Package caching implements an on-disk cache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSCache ¶
type FSCache struct {
// contains filtered or unexported fields
}
FSCache provides a simple cache-on-filesystem functionality.
func NewFSCache ¶
NewFSCache creates a new simpleCache instance.
func (*FSCache) Trim ¶
func (sc *FSCache) Trim()
Trim removes old cache entries that are likely not to be reused.
SPDX-License-Identifier: BSD-3-Clause
Source: https://github.com/rogpeppe/go-internal/commit/797a764460877f0a4bd570a61d60d10815e728e6
Click to show internal directories.
Click to hide internal directories.