GO-2024-2703: Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output in github.com/kopia/kopia
package
Version:
v0.3.0-rc3
Opens a new window with list of versions in this module.
Published: Jul 28, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cachefs implements a wrapper that caches filesystem actions.
Wrap returns an Entry that wraps another Entry and caches directory reads.
Cache maintains in-memory cache of recently-read data to speed up filesystem operations.
NewCache creates filesystem cache.
Readdir reads the contents of a provided directory using ObjectID of a directory (if any) to cache
the results.
DirectoryCacher reads and potentially caches directory entries for a given directory.
Loader provides data to be stored in the cache.
type Options struct {
MaxCachedDirectories int
MaxCachedEntries int
}
Options specifies behavior of filesystem Cache.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.