Method

GgitRepositoryis_empty

Declaration [src]

gboolean
ggit_repository_is_empty (
  GgitRepository* repository
  GError** error
)

Description [src]

Checks if repository is empty.

An empty repository has just been initialized and contains no commits.

Return value

Returns: gboolean
 

TRUE if the repository is empty.