Function radicle_source::revision::local[][src]

pub fn local<P, U>(
    browser: &Browser<'_>,
    peer_id: P,
    user: U
) -> Result<Option<Revisions<P, U>>, Error> where
    P: Clone + ToString

Provide the Revisions for the given peer_id, looking for the branches as BranchSelector::Local.

If there are no branches then this returns None.

Errors

  • If we cannot get the branches from the Browser