Struct git2::Blob[][src]

pub struct Blob<'repo> { /* fields omitted */ }

A structure to represent a git blob


impl<'repo> Blob<'repo>

Get the id (SHA1) of a repository blob

Determine if the blob content is most certainly binary or not.

Get the content of this blob.

Casts this Blob to be usable as an Object

Consumes Blob to be returned as an Object

Trait Implementations

impl<'repo> Debug for Blob<'repo>

Formats the value using the given formatter. Read more

impl<'repo> Clone for Blob<'repo>

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'repo> Drop for Blob<'repo>

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'repo> !Send for Blob<'repo>

impl<'repo> !Sync for Blob<'repo>