Skip to content

raulsh/drone-cache-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-cache-lib

Build Status Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com 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

About

library for building cache plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%