drone-cache-lib

module
v0.0.0-...-9818686 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2020 License: Apache-2.0

README

drone-cache-lib

Build Status Go Doc Go Report

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

Directories

Path Synopsis
tar
tgz

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL