package
0.8.3
Repository: https://github.com/mckael/restic.git
Documentation: pkg.go.dev

# Functions

DefaultDir returns the default cache directory for the current OS.
New returns a new cache for the repo ID at basedir.
Old returns a list of cache directories with a modification time of more than 30 days ago.
TestNewCache returns a cache in a temporary directory which is removed when cleanup is called.

# Structs

Backend wraps a restic.Backend and adds a cache.
Cache manages a local cache.