|
KiCad PCB EDA Suite
|
#include "kigit_failure.h"#include "git_repo_mixin.h"#include "kicad_git_compat.h"#include "kicad_git_memory.h"#include <trace_helpers.h>#include <git2.h>#include <wx/ffile.h>#include <wx/filename.h>#include <wx/log.h>#include <wx/regex.h>#include <wx/tokenzr.h>#include <wx/translation.h>#include <cstdlib>#include <memory>Go to the source code of this file.
Functions | |
| static KIGIT_FAILURE | classifyGitFailure (const KIGIT_ERROR_INFO &aError, const KIGIT_AUTH_ATTEMPT &aAuth, const KIGIT_FAILURE_CONTEXT &aContext) |
| static wxFileName | resolveLikeLibgit2 (const wxString &aDir) |
| aDir spelled as libgit2 1.9's p_realpath spells the working folder it checks safe.directory against | |
| static wxString | quoteForShell (const wxString &aPath) |
| aPath quoted for the shell the trust command is pasted into, or empty when it cannot be done safely | |
| static bool | isRootedLikeLibgit2 (const wxString &aPath) |
| True when libgit2's git_fs_path_root takes aPath as rooted rather than joining it onto a base folder. | |
|
static |
Definition at line 143 of file kigit_failure.cpp.
References AUTH_HTTPS_REJECTED, AUTH_NO_SSH_KEY, AUTH_SSH_KEY_REJECTED, KIGIT_FAILURE_CONTEXT::authFailed, CANCELLED, KIGIT_ERROR_INFO::code, KIGIT_COMMON::GIT_CONN_HTTPS, KIGIT_COMMON::GIT_CONN_SSH, HOST_KEY_CHANGED, HOST_KEY_UNKNOWN, HOST_KEY_UNVERIFIED, KIGIT_FAILURE_CONTEXT::hostKey, KIGIT_FAILURE_CONTEXT::hostKeyRefusal, KEY_LOAD_FAILED, KIGIT_AUTH_ATTEMPT::keysTried, KIGIT_ERROR_INFO::klass, KIGIT_ERROR_INFO::message, KIGIT::MISMATCH, KIGIT_FAILURE_CONTEXT::operation, OTHER, PROXY, PUSH, PUSH_FORBIDDEN, PUSH_NOT_FAST_FORWARD, KIGIT_FAILURE_CONTEXT::pushRefusal, REPO_NOT_FOUND, KIGIT::REVOKED, SERVER_REFUSED, and TLS_UNTRUSTED.
Referenced by KIGIT::DescribeGitFailure().
|
static |
True when libgit2's git_fs_path_root takes aPath as rooted rather than joining it onto a base folder.
Definition at line 568 of file kigit_failure.cpp.
Referenced by KIGIT::DescribeOwnershipRefusal().
|
static |
aPath quoted for the shell the trust command is pasted into, or empty when it cannot be done safely
Definition at line 545 of file kigit_failure.cpp.
Referenced by KIGIT::DescribeOwnershipRefusal().
|
static |
aDir spelled as libgit2 1.9's p_realpath spells the working folder it checks safe.directory against
Definition at line 530 of file kigit_failure.cpp.
Referenced by KIGIT::DescribeOwnershipRefusal().