drone/drone-cache-lib

Name: drone-cache-lib

Owner: drone.io

Description: library for building cache plugins

Created: 2016-12-18 15:14:25.0

Updated: 2018-05-02 17:24:29.0

Pushed: 2018-04-16 20:40:33.0

Homepage:

Size: 37

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

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
et -d github.com/drone/drone-cache-lib
Import the package
rt "github.com/drone/drone-cache-lib/cache"
Create a Cache object
e, err := cache.New(storage)
To rebuild the cache
:= cache.Rebuild(src, dst)
To restore the cache
:= cache.Restore(src)
Supported archive formats

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.