Struct git2::BlobWriter[][src]

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

A structure to represent a git writestream for blobs


impl<'repo> BlobWriter<'repo>

Finalize blob writing stream and write the blob to the object db

Trait Implementations

impl<'repo> Drop for BlobWriter<'repo>

Executes the destructor for this type. Read more

impl<'repo> Write for BlobWriter<'repo>

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

Auto Trait Implementations

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

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