TrackGit
Init.h
Go to the documentation of this file.
1 
8 #ifndef _INIT_H_
9 #define _INIT_H_
10 
11 #include "GitCommand.h"
12 
13 #include <SupportKit.h>
14 
18 class Init : public GitCommand
19 {
23  BString fDirPath;
24 public:
25  Init(BString);
26  virtual void Execute();
27  static int InitRepo(BString);
28 };
29 
30 #endif
virtual void Execute()
Init command excution.
Definition: Init.cpp:45
Init command Class.
Definition: Init.h:18
GitCommand Class.
Definition: GitCommand.h:20
Init(BString)
Init command constructor.
Definition: Init.cpp:20
BString fDirPath
The current directory where Init option is selected.
Definition: Init.h:23
Header file of GitCommand.
static int InitRepo(BString)
Initializes empty repo in given directory.
Definition: Init.cpp:34