KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGIT::REMOTE_TRANSPORT::STATE Struct Reference

Public Member Functions

KIGIT_COMMON * Common () const
 
void Begin ()
 Every call offers every credential again and keeps nothing from an earlier failure.
 
int Fail (int aCode)
 

Public Attributes

KIGIT_REPO_MIXIN * handler = nullptr
 
unsigned tested = 0
 The git_credential_t kinds this call has offered.
 
bool agentTried = false
 
KIGIT_ERROR_INFO error
 

Detailed Description

Definition at line 39 of file kigit_transport.cpp.

Member Function Documentation

◆ Begin()

void KIGIT::REMOTE_TRANSPORT::STATE::Begin ( )
inline

Every call offers every credential again and keeps nothing from an earlier failure.

Definition at line 49 of file kigit_transport.cpp.

References agentTried, error, handler, and tested.

◆ Common()

KIGIT_COMMON * KIGIT::REMOTE_TRANSPORT::STATE::Common ( ) const
inline

Definition at line 46 of file kigit_transport.cpp.

References handler.

◆ Fail()

int KIGIT::REMOTE_TRANSPORT::STATE::Fail ( int aCode)
inline

Definition at line 57 of file kigit_transport.cpp.

References error, and KIGIT_COMMON::GetLastGitErrorInfo().

Member Data Documentation

◆ agentTried

bool KIGIT::REMOTE_TRANSPORT::STATE::agentTried = false

Definition at line 43 of file kigit_transport.cpp.

Referenced by Begin().

◆ error

KIGIT_ERROR_INFO KIGIT::REMOTE_TRANSPORT::STATE::error

Definition at line 44 of file kigit_transport.cpp.

Referenced by Begin(), and Fail().

◆ handler

KIGIT_REPO_MIXIN* KIGIT::REMOTE_TRANSPORT::STATE::handler = nullptr

Definition at line 41 of file kigit_transport.cpp.

Referenced by Begin(), and Common().

◆ tested

unsigned KIGIT::REMOTE_TRANSPORT::STATE::tested = 0

The git_credential_t kinds this call has offered.

Definition at line 42 of file kigit_transport.cpp.

Referenced by Begin().


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