Skip to content

Commit

Permalink
Register symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
stewid committed Oct 16, 2024
1 parent 977e70b commit 52329f8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion R/config.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## git2r, R bindings to the libgit2 library.
## Copyright (C) 2013-2019 The git2r contributors
## Copyright (C) 2013-2024 The git2r contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License, version 2,
Expand Down Expand Up @@ -35,6 +35,8 @@
##' @return S3 class \code{git_config}. When writing options, the
##' configuration is returned invisible.
##' @export
##' @useDynLib git2r git2r_config_get
##' @useDynLib git2r git2r_config_set
##' @examples \dontrun{
##' ## Initialize a temporary repository
##' path <- tempfile(pattern = "git2r-")
Expand Down Expand Up @@ -156,6 +158,7 @@ print.git_config <- function(x, ...) {
##' @return a \code{data.frame} with one row per potential
##' configuration file where \code{NA} means not found.
##' @export
##' @useDynLib git2r git2r_config_find_file
git_config_files <- function(repo = ".") {
## Lookup repository
if (inherits(repo, "git_repository")) {
Expand Down
5 changes: 4 additions & 1 deletion R/index.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## git2r, R bindings to the libgit2 library.
## Copyright (C) 2013-2023 The git2r contributors
## Copyright (C) 2013-2024 The git2r contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License, version 2,
Expand All @@ -25,6 +25,7 @@
##' @param force Add ignored files. Default is FALSE.
##' @return invisible(NULL)
##' @export
##' @useDynLib git2r git2r_index_add_all
##' @examples
##' \dontrun{
##' ## Initialize a repository
Expand Down Expand Up @@ -132,6 +133,7 @@ sanitize_path <- function(p, repo_wd) {
##' known to Git are removed.
##' @return invisible(NULL)
##' @export
##' @useDynLib git2r git2r_index_remove_bypath
##' @examples
##' \dontrun{
##' ## Initialize a repository
Expand Down Expand Up @@ -215,6 +217,7 @@ rm_file <- function(repo = ".", path = NULL) {
##' "resolve undo" (REUC) section.
##' @return invisible(NULL)
##' @export
##' @useDynLib git2r git2r_index_remove_bypath
##' @examples
##' \dontrun{
##' ## Initialize a repository
Expand Down
1 change: 1 addition & 0 deletions R/repository.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ as.data.frame.git_repository <- function(x, ...) {
##' }
##' }
##' @export
##' @useDynLib git2r git2r_repository_can_open
##' @examples
##' \dontrun{
##' ## Initialize a temporary repository
Expand Down
3 changes: 2 additions & 1 deletion R/signature.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## git2r, R bindings to the libgit2 library.
## Copyright (C) 2013-2018 The git2r contributors
## Copyright (C) 2013-2024 The git2r contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License, version 2,
Expand Down Expand Up @@ -31,6 +31,7 @@
## }
## }
##' @export
##' @useDynLib git2r git2r_signature_default
##' @examples
##' \dontrun{
##' ## Initialize a temporary repository
Expand Down

0 comments on commit 52329f8

Please sign in to comment.