Learn R Programming

icesTAF (version 3.6.0)

get.remote.sha: Get Remote SHA

Description

Look up SHA reference code on GitHub.

Usage

get.remote.sha(owner, repo, ref, seven = TRUE)

Value

SHA reference code as a string.

Arguments

owner

repository owner.

repo

repository name.

ref

reference.

seven

whether to truncate SHA reference code to seven characters.

See Also

taf.bootstrap uses get.remote.sha to determine whether it is necessary to remove or download files, via clean.library, clean.software, and download.github.

icesTAF-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
get.remote.sha("ices-tools-prod", "icesTAF", "master")
get.remote.sha("ices-tools-prod", "icesTAF", "3.0-0")
get.remote.sha("ices-tools-prod", "icesTAF", "3.0-0", seven=FALSE)
}

Run the code above in your browser using DataLab