remote_get_raw: Fetching Raw Contents form Remote Source Control Repositories

Description Usage Arguments Value

Description

Fetching Raw Contents form Remote Source Control Repositories

Usage

1
remote_get_raw(remote, path, url = NULL, ..., destfile = NULL)

Arguments

remote

a repository specification or remote object.

path

path to the file to downlad, relatively to the root of the repository.

url

base url to use. When NULL (default), the base url is taken from the remote specification 'host_raw'.

...

other arguments passed to httr::GET

destfile

file where to save the fetched content. If NULL (default), then the file is saved in the temporary directory, with a unique prefix of the form <prefix>__<basename(path)>.

user, password

repository authetication credentials. The default is to use the user define in the remote specification 'auth_user' and 'auth_token' respectively, which can be determined transparently with remote_auth, via the credentials stored in a .netrc file.

Value

the full normalized path to the file where the raw content was saved.


renozao/repotools documentation built on May 27, 2019, 5:53 a.m.