Foundry.GitCloner¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.GitCloner(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- clone(pty_fd, operation)¶
- Parameters:
pty_fd (
int) – the FD for a PTY, or -1operation (
Foundry.Operation) –
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error
- Return type:
pty_fd is copied and may be closed after calling this function.
- get_bare()¶
- Return type:
If [property`Foundry`.GitCloner:directory] should be used as the destination directory instead of a
.gitsubdirectory.
- validate()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error
- Return type:
Validates the values of the cloner.
Property Details¶
- Foundry.GitCloner.props.author_email¶
- Name:
author-email- Type:
- Default Value:
- Flags:
- Foundry.GitCloner.props.author_name¶
- Name:
author-name- Type:
- Default Value:
- Flags:
- Foundry.GitCloner.props.bare¶
- Name:
bare- Type:
- Default Value:
- Flags:
- Foundry.GitCloner.props.directory¶
- Name:
directory- Type:
- Default Value:
- Flags:
- Foundry.GitCloner.props.remote_branch_name¶
- Name:
remote-branch-name- Type:
- Default Value:
- Flags: