Function blob

Source
pub fn blob<P>(
    browser: &mut Browser<'_>,
    maybe_revision: Option<Revision<P>>,
    path: &str,
) -> Result<Blob, Error>
where P: ToString,
Expand description

Returns the Blob for a file at revision under path.

§Errors

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