Skip to content

Commit 08c2bec

Browse files
committed
explicitly mention that read_vc() is an S3 method
1 parent cfa3d02 commit 08c2bec

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

R/read_vc.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
#' Read a Git2rdata Object from Disk
22
#'
3+
#' @description
34
#' `read_vc()` handles git2rdata objects stored by `write_vc()`. It reads and
45
#' verifies the metadata file (`.yml`). Then it reads and verifies the raw data.
56
#' The last step is backtransforming any transformation done by `meta()` to
67
#' return the `data.frame` as stored by `write_vc()`.
78
#'
9+
#' `read_vc()` is an S3 generic on `root` which currently handles `"character"`
10+
#' (a path) and `"git-repository"` (from `git2r`). S3 methods for other version
11+
#' control system could be added.
12+
#'
813
#' @inheritParams write_vc
914
#' @return The `data.frame` with the file names and hashes as attributes.
1015
#' @rdname read_vc

man/read_vc.Rd

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)