Ggit.DiffFindOptions¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
Copy threshold  | 
||
r/w  | 
Flags  | 
||
r/w  | 
Metric  | 
||
r/w  | 
Rename from rewrite threshold  | 
||
r/w  | 
Rename limit  | 
||
r/w  | 
Rename threshold  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class Ggit.DiffFindOptions(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Represents options for finding diff similarity.
- classmethod new()¶
 - Returns:
 a newly allocated
Ggit.DiffFindOptionsorNone.- Return type:
 
Creates a new
Ggit.DiffFindOptions.
- get_copy_threshold()¶
 - Returns:
 the copy threshold.
- Return type:
 
Get the find options copy threshold.
- get_flags()¶
 - Returns:
 the find options flags.
- Return type:
 
Get the find options flags.
- get_metric()¶
 - Returns:
 - Return type:
 
Get the find options metric.
- get_rename_from_rewrite_threshold()¶
 - Returns:
 the rename from rewrite threshold.
- Return type:
 
Get the find options rename from rewrite threshold.
- get_rename_threshold()¶
 - Returns:
 the rename threshold.
- Return type:
 
Get the find options rename threshold.
- set_copy_threshold(threshold)¶
 - Parameters:
 threshold (
int) – the threshold.
Set the find options copy threshold.
- set_flags(flags)¶
 - Parameters:
 flags (
Ggit.DiffFindFlags) – aGgit.DiffFindFlags.
Set the find options flags.
- set_metric(metric)¶
 - Parameters:
 metric (
Ggit.DiffSimilarityMetric) – aGgit.DiffSimilarityMetric.
Set the find options metric.
Property Details¶
- Ggit.DiffFindOptions.props.copy_threshold¶
 - 
Copy threshold
 
- Ggit.DiffFindOptions.props.flags¶
 - Name:
 flags- Type:
 - Default Value:
 Ggit.DiffFindFlags.FIND_BY_CONFIG|Ggit.DiffFindFlags.FIND_IGNORE_LEADING_WHITESPACE- Flags:
 
The diff option flags.
- Ggit.DiffFindOptions.props.metric¶
 - Name:
 metric- Type:
 - Default Value:
 - Flags:
 
Metric
- Ggit.DiffFindOptions.props.rename_from_rewrite_threshold¶
 - 
Rename from rewrite threshold
 
- Ggit.DiffFindOptions.props.rename_limit¶
 - 
Rename limit