Struct git2::Blob[][src]

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

A structure to represent a git blob

Methods

impl<'repo> Blob<'repo>
[src]

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>
[src]

Formats the value using the given formatter. Read more

impl<'repo> Clone for Blob<'repo>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'repo> Drop for Blob<'repo>
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

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

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