File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ setMethod("remote_url",
359359# #' @rdname remote_ls-methods
360360# #' @docType methods
361361# #' @param name Character vector with the "remote" repository URL to query or
362- # #the name of the remote if a \code{repo} argument is given.
362+ # #' the name of the remote if a \code{repo} argument is given.
363363# #' @param repo an optional repository object used if remotes are specified by name.
364364# #' @param credentials The credentials for the remote repository.
365365# #' @keywords methods
Original file line number Diff line number Diff line change 1+ % Generated by roxygen2 (4.1.1 ): do not edit by hand
2+ % Please edit documentation in R / remote.r
3+ \docType {methods }
4+ \name {remote_ls }
5+ \alias {remote_ls }
6+ \alias {remote_ls ,character - method }
7+ \title {List references in a remote repository }
8+ \usage {
9+ remote_ls(name , repo = git2r :: init(tempdir()), credentials = NULL )
10+
11+ \S4method {remote_ls }{character }(name , repo = git2r :: init(tempdir()),
12+ credentials = NULL )
13+ }
14+ \arguments {
15+ \item {name }{Character vector with the " remote" repository URL to query or
16+ the name of the remote if a \code {repo } argument is given. }
17+
18+ \item {repo }{an optional repository object used if remotes are specified by name. }
19+
20+ \item {credentials }{The credentials for the remote repository. }
21+ }
22+ \value {
23+ Character vector for each reference with the associated commit IDs.
24+ }
25+ \description {
26+ Displays references available in a remote repository along with the
27+ associated commit IDs. Akin to the ' git ls-remote' command.
28+ }
29+ \examples {
30+ \dontrun {
31+ remote_ls(" https://github.com/ropensci/git2r" )
32+ }
33+ }
34+ \keyword {methods }
35+
You can’t perform that action at this time.
0 commit comments