Constructor

GgitMailmapnew_from_repository

Declaration [src]

GgitMailmap*
ggit_mailmap_new_from_repository (
  GgitRepository* repository,
  GError** error
)

Description [src]

Creates a new GgitMailmap and loads mailmap files according to the configuration of repository.

Parameters

repository GgitRepository
 

A GgitRepository.

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

Return value

Returns: GgitMailmap
 

A newly allocated GgitMailmap or NULL.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.