pub fn register(central: &Path, project: &str, dir: &Path) -> Result<()>Expand description
Registers the repository in dir as part of project, moving it if it was registered under
another project. Two live repositories with the same name in one project are refused, since
--project and the app’s filter tell them apart by name; a registration whose folder is gone
gives way.