Function radicle_source::branch::local_state[][src]

pub fn local_state(
    repo_path: &str,
    default_branch: &str
) -> Result<LocalState, Error>

Given a path to a repo returns the list of branches and if it is managed by coco.

Errors

Will return Error if the repository doesn’t exist.