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

Pull command Class. More...

#include <Pull.h>

Inheritance diagram for Pull:
GitCommand

Public Member Functions

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

Static Public Member Functions

static pthread_t DoPull (PullWindow *, const char *)
 This spawns thread to perform pull over given repo. More...
 

Private Attributes

BString fRepo
 The repository path where Pull option is selected. More...
 
TrackGitWindowfPullWindow
 Pull Window. More...
 

Detailed Description

Pull command Class.

Definition at line 40 of file Pull.h.

Constructor & Destructor Documentation

◆ Pull()

Pull::Pull ( BString  repo)

Pull command constructor.

Parameters
dirPathThe directory where Init is selected.

Definition at line 23 of file Pull.cpp.

Member Function Documentation

◆ DoPull()

pthread_t Pull::DoPull ( PullWindow pullWindow,
const char *  path 
)
static

This spawns thread to perform pull over given repo.

Parameters
pullWindowThe window to show progress.
pathThe repo path.

Definition at line 195 of file Pull.cpp.

◆ Execute()

void Pull::Execute ( )
virtual

This is where actual calls to libgit2 will go.

Implements GitCommand.

Definition at line 33 of file Pull.cpp.

◆ GetWindow()

TrackGitWindow * Pull::GetWindow ( )
virtual

This returns pointer to the Pull window.

Returns
The pull window.

Reimplemented from GitCommand.

Definition at line 43 of file Pull.cpp.

Member Data Documentation

◆ fPullWindow

TrackGitWindow* Pull::fPullWindow
private

Pull Window.

Definition at line 49 of file Pull.h.

◆ fRepo

BString Pull::fRepo
private

The repository path where Pull option is selected.

Definition at line 45 of file Pull.h.


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