Function radicle_source::branch::branches[][src]

pub fn branches(
    browser: &Browser<'_>,
    branch_type: Option<BranchType>
) -> Result<Vec<Branch>, Error>

Given a project id to a repo returns the list of branches.

Errors

Will return Error if the project doesn’t exist or the surf interaction fails.