TrackGit
|
Create Branch command Class. More...
#include <CreateBranch.h>
Public Member Functions | |
CreateBranch (BString) | |
CreateBranch class constructor. More... | |
virtual void | Execute () |
CreateBranch command execution. More... | |
virtual TrackGitWindow * | GetWindow () |
This returns pointer to the Create Branch window. More... | |
Static Public Member Functions | |
static int | DoCreateBranch (BString, BString) |
This function creates a new branch in repo with given name. More... | |
Private Attributes | |
BString | fRepo |
The repo/directory where command is called. More... | |
TrackGitWindow * | fCreateBranchWindow |
The Create Branch Window. More... | |
Create Branch command Class.
Definition at line 18 of file CreateBranch.h.
CreateBranch::CreateBranch | ( | BString | repo | ) |
CreateBranch class constructor.
repo | The repo path where Create Branch option is selected. |
Definition at line 20 of file CreateBranch.cpp.
|
static |
This function creates a new branch in repo with given name.
repoPath | The repository path. |
branchName | The name of new branch. |
Definition at line 56 of file CreateBranch.cpp.
|
virtual |
CreateBranch command execution.
Implements GitCommand.
Definition at line 31 of file CreateBranch.cpp.
|
virtual |
This returns pointer to the Create Branch window.
Reimplemented from GitCommand.
Definition at line 41 of file CreateBranch.cpp.
|
private |
The Create Branch Window.
Definition at line 26 of file CreateBranch.h.
|
private |
The repo/directory where command is called.
Definition at line 22 of file CreateBranch.h.