Ggit.CommitParents
Properties
| Name | Type | Flags | Short Description | 
|---|
| commit | Ggit.Commit | r/w/co | The commit for the parents collection | 
| size | int | r | The size of the parents collection | 
 
Class Details
- 
class Ggit.CommitParents(**kwargs)
- 
Represents the parents of a commit object. 
- 
classmethod new(commit)
- 
 
- 
get(idx)
- 
Get the Ggit.Commitof a parent.
 
 
- 
get_id(idx)
- 
Get the Ggit.OIdof a parent.
 
 
- 
get_size()
- 
| Returns: | the number of parents. | 
|---|
 | Return type: | int | 
|---|
 
 - Get the number of parents in the parents collection. 
 
 
Property Details
- 
Ggit.CommitParents.props.commit
- 
The commit for the parents collection 
- 
Ggit.CommitParents.props.size
- 
The size of the parents collection