Init command Class.
More...
#include <Init.h>
|
static int | InitRepo (BString) |
| Initializes empty repo in given directory. More...
|
|
Init command Class.
Definition at line 18 of file Init.h.
◆ Init()
Init::Init |
( |
BString |
dirPath | ) |
|
Init command constructor.
- Parameters
-
dirPath | The directory where Init is selected. |
Definition at line 20 of file Init.cpp.
◆ Execute()
Init command excution.
Initializes empty git repository in given directory.
Implements GitCommand.
Definition at line 45 of file Init.cpp.
◆ InitRepo()
int Init::InitRepo |
( |
BString |
dirPath | ) |
|
|
static |
Initializes empty repo in given directory.
- Parameters
-
dirPath | The given directory. |
- Returns
- 0 or error code.
Definition at line 34 of file Init.cpp.
◆ fDirPath
The current directory where Init option is selected.
Definition at line 23 of file Init.h.
The documentation for this class was generated from the following files: