#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

#157 in #repo

Download history 6/week @ 2024-02-29 60/week @ 2024-03-07

66 downloads per month

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–18MB
~215K SLoC