Ggit.CommitParents¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The commit for the parents collection |
||
r |
The size of the parents collection |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Ggit.CommitParents(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents the parents of a commit object.
- classmethod new(commit)¶
- Parameters:
commit (
Ggit.Commit
) –- Return type:
- get(idx)¶
- Parameters:
idx (
int
) – the parent index.- Returns:
a
Ggit.Commit
.- Return type:
Ggit.Commit
orNone
Get the
Ggit.Commit
of a parent.
Property Details¶
- Ggit.CommitParents.props.commit¶
- Name:
commit
- Type:
- Default Value:
- Flags:
The commit for the parents collection