We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa3d02 commit 08c2becCopy full SHA for 08c2bec
R/read_vc.R
@@ -1,10 +1,15 @@
1
#' Read a Git2rdata Object from Disk
2
#'
3
+#' @description
4
#' `read_vc()` handles git2rdata objects stored by `write_vc()`. It reads and
5
#' verifies the metadata file (`.yml`). Then it reads and verifies the raw data.
6
#' The last step is backtransforming any transformation done by `meta()` to
7
#' return the `data.frame` as stored by `write_vc()`.
8
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
+#'
13
#' @inheritParams write_vc
14
#' @return The `data.frame` with the file names and hashes as attributes.
15
#' @rdname read_vc
man/read_vc.Rd
0 commit comments