Ggit.BlameOptions – libgit2-glib-1.0 Reference Manual
Packages
libgit2-glib-1.0
Ggit
BlameOptions
BlameOptions
copy
free
get_maximum_line
get_minimum_line
get_minimum_match_characters
get_newest_commit
get_oldest_commit
set_maximum_line
set_minimum_line
set_minimum_match_characters
set_newest_commit
set_oldest_commit
BlameOptions
Object Hierarchy:
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"ggit_blame_options_get_type ()"
) ]
[
Compact
]
public
class
BlameOptions
Represents blame options.
Namespace:
Ggit
Package:
libgit2-glib-1.0
Content:
Creation methods:
public
BlameOptions
()
Create a new, empty
BlameOptions
.
Methods:
public
BlameOptions
?
copy
()
Copies
this
into a newly allocated
BlameOptions
.
public
void
free
()
Frees
this
.
public
uint32
get_maximum_line
()
Get the last line in the file to consider.
public
uint32
get_minimum_line
()
Get the first line in the file to consider.
public
uint16
get_minimum_match_characters
()
Get the minimum number of characters that must be detected as moving/copying within a file for it to associate those lines with a parent commit.
public
OId
?
get_newest_commit
()
Get the id of the newest commit to consider in the blame.
public
OId
?
get_oldest_commit
()
Get the id of the oldest commit to consider in the blame.
public
void
set_maximum_line
(
uint32
line)
Set the last line in the file to consider.
public
void
set_minimum_line
(
uint32
line)
Set the first line in the file to consider.
public
void
set_minimum_match_characters
(
uint16
characters)
Set the minimum number of characters that must be detected as moving/copying within a file for it to associate those lines with a parent commit.
public
void
set_newest_commit
(
OId
? oid)
Set the id of the newest commit to consider in the blame.
public
void
set_oldest_commit
(
OId
? oid)
Set the id of the oldest commit to consider in the blame.