TrackGit
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Push Class Reference

Push command Class. More...

#include <Push.h>

Inheritance diagram for Push:
GitCommand

Public Member Functions

 Push (BString)
 Push command constructor. More...
 
virtual void Execute ()
 This is where actual calls to libgit2 will go. More...
 
virtual TrackGitWindowGetWindow ()
 This returns pointer to the Push window. More...
 

Static Public Member Functions

static pthread_t DoPush (PushWindow *, const char *)
 This spawns thread to perform push over given repo. More...
 

Private Attributes

BString fRepo
 The repository path where Push option is selected. More...
 
TrackGitWindowfPushWindow
 Push Window. More...
 

Detailed Description

Push command Class.

Definition at line 32 of file Push.h.

Constructor & Destructor Documentation

◆ Push()

Push::Push ( BString  repo)

Push command constructor.

Parameters
dirPathThe directory where Init is selected.

Definition at line 23 of file Push.cpp.

Member Function Documentation

◆ DoPush()

pthread_t Push::DoPush ( PushWindow pushWindow,
const char *  path 
)
static

This spawns thread to perform push over given repo.

Parameters
pushWindowThe window to show progress.
pathThe repo path.

Definition at line 141 of file Push.cpp.

◆ Execute()

void Push::Execute ( )
virtual

This is where actual calls to libgit2 will go.

Implements GitCommand.

Definition at line 33 of file Push.cpp.

◆ GetWindow()

TrackGitWindow * Push::GetWindow ( )
virtual

This returns pointer to the Push window.

Returns
The push window.

Reimplemented from GitCommand.

Definition at line 43 of file Push.cpp.

Member Data Documentation

◆ fPushWindow

TrackGitWindow* Push::fPushWindow
private

Push Window.

Definition at line 41 of file Push.h.

◆ fRepo

BString Push::fRepo
private

The repository path where Push option is selected.

Definition at line 37 of file Push.h.


The documentation for this class was generated from the following files: