Description Methods Value See Also
getRepo
talks to the github API to retrieve information about a specified repository at a specific point in time (commit). There are three separate ways to convey the github commit:
ref = "branch"
Must specify refName
to be the name of the branch that info is to be pulled from. getRepo
will find the commit that the ref
and refName
refer to.
ref = "tag"
Must specify refName
to be the name of the tag that info is to be pulled from. getRepo
will find the commit that the ref
and refName
refer to.
ref = "commit"
Must specify refName
to be the sha of the commit that info is to be pulled from.
signature(repository = "character", ...)
repository
name of repository, in the form of /owner/repo
...
ref = "branch"
one of "branch", "tag", or "commit" – refName must be specified along with ref
refName = "master"
specified along with ref
: name of the branch, tag, or the sha of the requested commit
return value is of class githubRepo
getPermlink
, githubRepo
, sourceRepoFile
, view
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.