#rvc #version-control #lib #repo #repository

yanked rvc-lib

The library that rvc uses for version control

0.2.0 Apr 13, 2023
0.1.4 Apr 13, 2023

#158 in #repo

GPL-3.0 license

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