Method
GgitRepositorycreate_blob_from_file
Declaration [src]
GgitOId*
ggit_repository_create_blob_from_file (
GgitRepository* repository,
GFile* file,
GError** error
)
Description [src]
Write a file to the object database as a blob.
Returns (transfer full) (nullable): the new GgitOid
of the written blob,
or NULL
if writing the blob failed.
Parameters
file |
GFile |
A |
|
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GgitOId |
No description available. | |
The caller of the method takes ownership of the data, and is responsible for freeing it. |