Method

GgitRepositoryblame_file

Declaration [src]

GgitBlame*
ggit_repository_blame_file (
  GgitRepository* repository,
  GFile* file,
  GgitBlameOptions* blame_options,
  GError** error
)

Description [src]

Get a blame for a single file.

Parameters

file GFile
 

The file to blame.

 The data is owned by the caller of the function.
blame_options GgitBlameOptions
 

Blame options.

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

Return value

Returns: GgitBlame
 

A GgitBlame.

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