Guitar
Public Types | Public Member Functions | Public Attributes | List of all members
Git::Branch Struct Reference

#include <Git.h>

Collaboration diagram for Git::Branch:
Collaboration graph
[legend]

Public Types

enum  { None, Current = 0x0001, HeadDetachedAt = 0x0002, HeadDetachedFrom = 0x0004 }
 

Public Member Functions

 operator bool () const
 
bool isCurrent () const
 
bool isHeadDetached () const
 

Public Attributes

QString name
 
Git::CommitID id
 
QString remote
 
int ahead = 0
 
int behind = 0
 
int flags = 0
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
None 
Current 
HeadDetachedAt 
HeadDetachedFrom 

Member Function Documentation

◆ isCurrent()

bool Git::Branch::isCurrent ( ) const
inline

◆ isHeadDetached()

bool Git::Branch::isHeadDetached ( ) const
inline

◆ operator bool()

Git::Branch::operator bool ( ) const
inline

Member Data Documentation

◆ ahead

int Git::Branch::ahead = 0

◆ behind

int Git::Branch::behind = 0

◆ flags

int Git::Branch::flags = 0

◆ id

Git::CommitID Git::Branch::id

◆ name

QString Git::Branch::name

◆ remote

QString Git::Branch::remote

The documentation for this struct was generated from the following file: