travis_get_caches: Get/delete repository cache(s) from Travis CI

View source: R/travis-caches.R

travis_get_cachesR Documentation

Get/delete repository cache(s) from Travis CI

Description

Return cache information

travis_delete_caches() returns the repo ID obtained from travis_repo_info().

Usage

travis_get_caches(
  repo = github_repo(),
  endpoint = get_endpoint(),
  quiet = FALSE
)

travis_delete_caches(repo = github_repo(), endpoint = get_endpoint())

Arguments

repo

[string]
The repository slug to use. Must follow the "user/repo" structure.

endpoint

[string]
Which Travis endpoint to use. Defaults to ".org". Accepted values are ".com" and ".org". Can be set globally via env var R_TRAVIS.

quiet

If TRUE, console output is suppressed.

Details

travis_get_caches() queries the "/repos/:repo/caches" API.

See Also

Other Travis CI functions: travis_repo_info(), travis_repos()


ropenscilabs/travis documentation built on May 18, 2022, 8:33 p.m.