libgit2

blob

Version:
Git blob load and write routines

Objects

In-memory representation of a blob object

Structs

The options used when applying filter options to a file

Macros

Enums

Flags to control the functionality of git_blob_filter

Functions

Lookup a blob object from a repository

Lookup a blob object from a repository, given a prefix of its identifier (short id)

Close an open blob

Get the id of a blob

Get the repository that contains the blob

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

Get the size in bytes of the contents of a blob

Get a buffer with the filtered content of a blob

Read a file from the working folder of a repository and write it to the Object Database as a loose blob

Read a file from the filesystem and write its content to the Object Database as a loose blob

Create a stream to write a new blob into the object db

Close the stream and write the blob to the object db

Write an in-memory buffer to the ODB as a blob

Determine if the blob content is most certainly binary or not

Create an in-memory copy of a blob free'd or it will leak.