A blob represents a file in a git repository. This is the raw data as it is stored in the repository itself. Blobs may be "filtered" to produce the on-disk content.
In-memory representation of a blob object
The options used when applying filter options to a file
The current version number for the git_blob_filter_options
structure ABI
The default values for git_blob_filter_options
Flags to control the functionality of git_blob_filter
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
Initialize git_blob_filter_options structure
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
Read a file from the filesystem (not necessarily inside the working folder of the repository) and write it to the object database
Create a stream to write a new blob into the object database
Close the stream and finalize writing the blob to the object database
Write an in-memory buffer to the object database as a blob
Determine if the blob content is most likely binary or not
Determine if the given content is most certainly binary or not; this is the same mechanism used by git_blob_is_binary
but only looking at raw data
Create an in-memory copy of a blob free'd or it will leak.