pub struct OdbWriter<'repo> { /* fields omitted */ }
A structure to represent a git ODB wstream
Finish writing to an ODB stream
This method can be used to finalize writing object to the database and get an identifier.
The object will take its final name and will be available to the odb.
This method will fail if the total number of received bytes differs from the size declared with odb_writer()
Attepting write after finishing will be ignored.
Executes the destructor for this type. Read more
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