Function radicle_source::object::blob::blob[][src]

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

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.