Ggit.DiffOptions¶
- Subclasses:
- None 
Methods¶
- Inherited:
- Structs:
| class | 
 | 
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
Virtual Methods¶
- Inherited:
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| r/w/c | Flags | ||
| r/w/c | N context lines | ||
| r/w/c | N interhunk lines | ||
| r/w/c | New prefix | ||
| r/w/c | Old prefix | ||
| [ | r/w/c | Pathspec | 
Signals¶
- Inherited:
Fields¶
- Inherited:
| Name | Type | Access | Description | 
|---|---|---|---|
| parent_instance | r | 
Class Details¶
- class Ggit.DiffOptions(**kwargs)¶
- Bases:
- Abstract:
- No 
- Structure:
 - Represents the options used when creating a - Ggit.Diff.- classmethod new()¶
- Returns:
- a - Ggit.DiffOptionsor- None.
- Return type:
 - Create a new diff options object. 
 - get_flags()¶
- Returns:
- Return type:
 - Get the diff flags. 
 - get_n_context_lines()¶
- Returns:
- the number of context lines. 
- Return type:
 - Get the number of context lines to include in the diff. 
 - get_n_interhunk_lines()¶
- Returns:
- the number of lines. 
- Return type:
 - Get the number of interhunk lines to include in the diff. 
 - get_new_prefix()¶
- 
Get the diff new-prefix string. 
 - get_old_prefix()¶
- 
Get the diff old-prefix string. 
 - set_flags(flags)¶
- Parameters:
- flags ( - Ggit.DiffOption) – a- Ggit.DiffOption.
 - Set the diff flags. 
 - set_n_context_lines(n)¶
- Parameters:
- n ( - int) – the number of lines.
 - Set the number of context lines to include in the diff. 
 
Property Details¶
- Ggit.DiffOptions.props.flags¶
- Name:
- flags
- Type:
- Default Value:
- Flags:
 - The diff option flags. 
- Ggit.DiffOptions.props.n_context_lines¶
- 
N context lines 
- Ggit.DiffOptions.props.n_interhunk_lines¶
- 
N interhunk lines 
- Ggit.DiffOptions.props.new_prefix¶
- 
New prefix 
- Ggit.DiffOptions.props.old_prefix¶
- 
Old prefix