Function local

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

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

If there are no branches then this returns None.

ยงErrors

  • If we cannot get the branches from the Browser