#include "kigit_remote_url.h"
#include <wx/regex.h>
#include <wx/utils.h>
#include <cctype>
#include <string>
Go to the source code of this file.
|
| REMOTE_URL | KIGIT::ParseRemoteURL (const wxString &aURL) |
| | Split a remote address the way libgit2 reads it, so a host key is checked against the host it dials.
|
| |
| wxString | KIGIT::CredentialServer (const wxString &aUrl) |
| | The host and port aUrl reaches, as host[:port] without the scheme's default port.
|
| |
| wxString | KIGIT::CredentialRealm (const wxString &aUrl) |
| | The server an HTTP(S) credential for aUrl serves, as scheme://host[:port] with no user, path or default port, the key git's own credential helpers use by default.
|
| |
| wxString | KIGIT::StripEmbeddedUserinfo (const wxString &aText) |
| | Remove the user and password from every URL quoted in a message, since the remote's can carry a password.
|
| |
| wxString | KIGIT::DecodeServerText (const char *aData, size_t aLength) |
| | Bytes a server sent, as UTF-8 or, when they are not valid UTF-8, one character for each byte.
|
| |
| wxString | KIGIT::PrintableServerText (const wxString &aText) |
| | Text a server sent, made safe to show by removing terminal escapes, control and bidi characters, and URL userinfo.
|
| |