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"); }