Commit command Class.
More...
#include <Commit.h>
|
static int | DoCommit (BString, BString) |
| This function commits to given repo with given message. More...
|
|
Commit command Class.
Definition at line 18 of file Commit.h.
◆ Commit()
Commit::Commit |
( |
BString |
repo | ) |
|
Commit class constructor.
- Parameters
-
repo | The repo path where commit option is selected. |
Definition at line 21 of file Commit.cpp.
◆ DoCommit()
int Commit::DoCommit |
( |
BString |
repoPath, |
|
|
BString |
message |
|
) |
| |
|
static |
This function commits to given repo with given message.
- Parameters
-
repoPath | The repository path. |
message | The commit message. |
- Returns
- 0 or error code.
Definition at line 57 of file Commit.cpp.
◆ Execute()
◆ GetWindow()
This returns pointer to the commit window.
- Returns
- The Commit Window;
Reimplemented from GitCommand.
Definition at line 42 of file Commit.cpp.
◆ fCommitWindow
◆ fRepo
The repo/directory where command is called.
Definition at line 22 of file Commit.h.
The documentation for this class was generated from the following files: