Clone command Class.
More...
#include <Clone.h>
Clone command Class.
Definition at line 46 of file Clone.h.
◆ Clone()
Clone::Clone |
( |
BString |
repo, |
|
|
BString |
dirPath |
|
) |
| |
Clone class Constructor.
repo The repo where the command is called.
- Parameters
-
dirPath | The current directory where Clone is selected. |
Definition at line 23 of file Clone.cpp.
◆ DoClone()
pthread_t Clone::DoClone |
( |
CloneWindow * |
cloneWindow, |
|
|
const char * |
url, |
|
|
const char * |
path |
|
) |
| |
Spawns a thread to clone.
- Parameters
-
cloneWindow | Window to show progress. |
url | The url to clone. |
path | The path to clone to. |
Definition at line 213 of file Clone.cpp.
◆ Execute()
◆ GetWindow()
This returns pointer to the clone window.
- Returns
- The Clone Window;
Reimplemented from GitCommand.
Definition at line 38 of file Clone.cpp.
◆ fCloneWindow
The window to show progress.
Definition at line 58 of file Clone.h.
◆ fDirPath
The current directory where Clone option is selected.
Definition at line 54 of file Clone.h.
◆ fRepo
The repo/directory where the command is called.
Definition at line 50 of file Clone.h.
The documentation for this class was generated from the following files: