Skip to content

Latest commit

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

drone-cache-lib

Build StatusJoin the discussion at https://discourse.drone.ioDrone questions at https://stackoverflow.comGo DocGo 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

Stars

8 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages