|
SlHelpers
|
The default FetchCallbacks implementation. More...
#include <DefaultFetchCallbacks.h>
Public Member Functions | |
| DefaultFetchCallbacks () | |
| Construct DefaultFetchCallbacks. | |
| virtual void | checkoutProgress (std::string_view path, size_t completedSteps, size_t totalSteps) override |
| virtual int | credentials (git_credential **out, std::string_view url, std::optional< std::string_view > usernameFromUrl, unsigned int allowedTypes) override |
| virtual int | packProgress (int stage, uint32_t current, uint32_t total) override |
| virtual int | sidebandProgress (std::string_view str) override |
| virtual int | transferProgress (const git_indexer_progress &stats) override |
| virtual int | updateRefs (std::string_view refname, const git_oid &a, const git_oid &b, git_refspec &) override |
Public Member Functions inherited from SlGit::FetchCallbacks | |
| FetchCallbacks () | |
| Construct FetchCallbacks. | |
| virtual void | checkoutProgress ([[maybe_unused]] std::string_view path, [[maybe_unused]] size_t completedSteps, [[maybe_unused]] size_t totalSteps) |
| Called for each path in the tree. More... | |
| virtual int | credentials ([[maybe_unused]] git_credential **cred, [[maybe_unused]] std::string_view url, [[maybe_unused]] std::optional< std::string_view > usernameFromUrl, [[maybe_unused]] unsigned int allowedTypes) |
| Fill in credentials. More... | |
| virtual int | packProgress ([[maybe_unused]] int stage, [[maybe_unused]] uint32_t current, [[maybe_unused]] uint32_t total) |
| Called many times when packing objects. More... | |
| virtual int | sidebandProgress ([[maybe_unused]] std::string_view str) |
| Callback for messages received by the transport. More... | |
| virtual int | transferProgress ([[maybe_unused]] const git_indexer_progress &stats) |
| Called many times during download and indexing. More... | |
| virtual int | updateRefs ([[maybe_unused]] std::string_view refname, [[maybe_unused]] const git_oid &a, [[maybe_unused]] const git_oid &b, [[maybe_unused]] git_refspec &ref) |
| Called for each updated reference. More... | |
The default FetchCallbacks implementation.