An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/ancientlore/cachefs

Package cachefs implements a read-only cache around a fs.FS, using groupcache. Using cachefs is straightforward: cachefs "wraps" the underlying file system with caching. You can specify groupcache parameters - the group name and the cache size. groupcache does not support expiration, but cachefs supports quantizing values so that expiration happens around the expiration duration provided. Expiration can be disabled by specifying 0 for the duration. See https://pkg.go.dev/github.com/golang/groupcache for more information on groupcache.

Ecosystem
proxy.golang.org
Latest Release
v1.1.0
6 months ago
Versions
9
Dependent Packages
1
Dependent Repos
1
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/ancientlore/cachefs
spec
License Apache-2.0
Namespace github.com/ancientlore
First Release over 3 years ago
Last Synced 14 days ago
Repository
Stars 6 on GitHub
Forks 1 on GitHub
Rankings on proxy.golang.org
Overall Top 9.6%
Dependent packages Top 5.8%
Dependent repos Top 4.7%