module
0.0.0-20200806063744-981868645a25
Repository: https://github.com/drone/drone-cache-lib.git
Documentation: pkg.go.dev
# README
drone-cache-lib
A Go client library for creating cache plugins.
Usage
Download the packe
go get -d github.com/drone/drone-cache-lib
Import the package
import "github.com/drone/drone-cache-lib/cache"
Create a Cache
object
cache, err := cache.New(storage)
To rebuild the cache
err := cache.Rebuild(src, dst)
To restore the cache
err := cache.Restore(src)
Supported archive formats
- .tar