Foundry.VcsCommit¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.VcsCommit(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- dup_author()¶
- Return type:
- dup_committer()¶
- Return type:
- load_delta(relative_path)¶
- Parameters:
relative_path (
str) – the relative path of the file to get the delta for- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.VcsDelta] or rejects with error
- Return type:
Loads the delta for a single file comparing this commit to its parent. This extracts the changes for relative_path from the commit’s parent commit.
- load_parent(index)¶
- Parameters:
index (
int) – the index of the parent- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.VcsCommit] or rejects with error
- Return type:
- load_tree()¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.VcsTree] or rejects with error
- Return type:
- do_dup_author() virtual¶
- Return type:
- do_dup_committer() virtual¶
- Return type:
- do_load_delta(relative_path) virtual¶
- Parameters:
relative_path (
str) – the relative path of the file to get the delta for- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.VcsDelta] or rejects with error
- Return type:
Loads the delta for a single file comparing this commit to its parent. This extracts the changes for relative_path from the commit’s parent commit.
- do_load_parent(index) virtual¶
- Parameters:
index (
int) – the index of the parent- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.VcsCommit] or rejects with error
- Return type:
- do_load_tree() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.VcsTree] or rejects with error
- Return type:
Property Details¶
- Foundry.VcsCommit.props.author¶
- Name:
author- Type:
- Default Value:
- Flags:
- Foundry.VcsCommit.props.committer¶
- Name:
committer- Type:
- Default Value:
- Flags: