0.2.0 |
|
---|---|
0.1.4 |
|
#158 in #repo
21KB
442 lines
RVC-LIB
rvc-lib is the library that is used by rvc for its version control.
To create a repository
use rvc_lib::repo::Repo;
fn main() {
let repo = Repo::create_repo("path/to/repo", Some("Name of the repo"), Some("Description of the repo")).expect("Failed to create repo");
}
To open a repository
use rvc_lib::repo::Repo;
fn main() {
let repo = Repo::open_repo("path/to/repo").expect("Failed to open repo");
}
Dependencies
~7–16MB
~202K SLoC