Method
GgitIndexadd_file
Declaration [src]
gboolean
ggit_index_add_file (
GgitIndex* idx,
GFile* file,
GError** error
)
Description [src]
Add a file to the index. The specified file must be in the working directory and must exist and be readable.
Parameters
file |
GFile |
File to add. |
|
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |