Method

GgitIndexEntrystat

Declaration [src]

gboolean
ggit_index_entry_stat (
  GgitIndexEntry* entry,
  GFile* file,
  GError** error
)

Description [src]

Fill the entry fields from statting file.

Parameters

file GFile
 

The file to stat.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the entry was filled from statting file successfully, FALSE otherwise.