SlHelpers
SlGit::Remote Class Reference

Remote is a representation of a git remote. More...

#include <Remote.h>

Public Member Functions

bool fetchRefspecs (FetchCallbacks &fc, const std::vector< std::string > &refspecs={}, int depth=0, bool tags=true) const noexcept
 Fetch refspecs from this Remote, invoking the fc callback.
 
bool fetchRefspecs (const std::vector< std::string > &refspecs={}, int depth=0, bool tags=true) const noexcept
 Fetch refspecs from this Remote.
 
bool fetchBranches (const std::vector< std::string > &branches, int depth=0, bool tags=true) const noexcept
 Fetch branches from this Remote.
 
bool fetch (const std::string &branch, int depth=0, bool tags=true) const noexcept
 Fetch a branch from this Remote.
 
std::string url () const noexcept
 Get the URL of this Remote.
 
const git_indexer_progress * stats () const noexcept
 Get the stats of the progress.
 
GitTy * remote () const noexcept
 Get the stored pointer to libgit2's git_remote.
 
 operator GitTy * () const noexcept
 Alias for remote() – implicit conversion.
 

Friends

class Repo
 

Detailed Description

Remote is a representation of a git remote.


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