Categorygithub.com/drone/drone-cache-lib
module
0.0.0-20200806063744-981868645a25
Repository: https://github.com/drone/drone-cache-lib.git
Documentation: pkg.go.dev

# README

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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author