Function tree

Source
pub fn tree<P>(
    browser: &mut Browser<'_>,
    maybe_revision: Option<Revision<P>>,
    maybe_prefix: Option<String>,
) -> Result<Tree, Error>
where P: ToString,
Expand description

Retrieve the Tree for the given revision and directory prefix.

ยงErrors

Will return Error if any of the surf interactions fail.