libgit2

blob

Version:
Git blob load and write routines

Functions

Lookup a blob object from a repository The generated blob object is owned by the revision repo and shall not be freed by the user.

Create a new in-memory git_blob

Fill a blob with the contents inside the pointed file

Fill a blob with the contents inside the pointed buffer

Get a read-only buffer with the raw content of a blob

Get the size in bytes of the contents of a blob

Read a file from the working folder of a repository and write it to the Object Database as a loose blob, if such doesn't exist yet