get_caches: Get and Delete Cache

Description Usage Arguments Details Value Examples

Description

Retrieve the Travis-CI cache, or delete it.

Usage

1
2
3

Arguments

repo

A numeric repository ID (such as returned by this function), a character string specifying a GitHub repository “slug” (e.g., ghusername/ghreponame), or an object of class “travis_repo”.

...

Additional arguments passed to travisHTTP.

Details

get_caches retrieves caches for a repository. delete_caches deletes all caches for a repository.

Value

A list.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# authenticate based on Sys.setenv("GITHUB_TOKEN" = "sometoken")
auth_travis()

# get caches for a repo
get_caches("cloudyr/travisci")

# delete caches
delete_caches("cloudyr/travisci")

## End(Not run)

cloudyr/travisci documentation built on May 13, 2019, 8:22 p.m.