dl
dl::Svn类 参考

svn命令封装 更多...

#include <dl_svn.h>

struct  ThreadWork
 
struct  Work
 

Public 类型

enum class  WorkType {
  NONE , CHECKOUT , UPDATE , ADD ,
  COMMIT , CLEANUP
}
 

Public 成员函数

void SetUrl (std::string_view url)
 
void SetPath (std::string_view path)
 
void SetAccount (std::string_view username, std::string_view password, bool save_account)
 
void SetComment (std::string_view comment)
 
void Checkout ()
 
void Update ()
 
void Add (const std::vector< std::string > &vec_path)
 
void Commit ()
 
void Cleanup ()
 
void DoWorkLast ()
 
const ThreadWorkGetThreadWork ()
 
std::string GetUrl ()
 
std::string GetPath ()
 
const WorkGetWork ()
 
const WorkGetWorkLast ()
 
void * GetUserData ()
 
 Svn ()
 
 ~Svn ()
 

静态 Public 成员函数

static std::string_view GetWorkTypeName (WorkType type)
 

友元

class SvnManager
 

详细描述

svn命令封装

在文件 dl_svn.h19 行定义.

成员枚举类型说明

◆ WorkType

enum class dl::Svn::WorkType
strong
枚举值
NONE 
CHECKOUT 
UPDATE 
ADD 
COMMIT 
CLEANUP 

在文件 dl_svn.h23 行定义.

构造及析构函数说明

◆ Svn()

dl::Svn::Svn ( )
inline

在文件 dl_svn.h97 行定义.

◆ ~Svn()

dl::Svn::~Svn ( )

成员函数说明

◆ Add()

void dl::Svn::Add ( const std::vector< std::string > & vec_path)

◆ Checkout()

void dl::Svn::Checkout ( )

◆ Cleanup()

void dl::Svn::Cleanup ( )

◆ Commit()

void dl::Svn::Commit ( )

◆ DoWorkLast()

void dl::Svn::DoWorkLast ( )

◆ GetPath()

std::string dl::Svn::GetPath ( )
inline

在文件 dl_svn.h91 行定义.

◆ GetThreadWork()

const ThreadWork & dl::Svn::GetThreadWork ( )
inline

在文件 dl_svn.h89 行定义.

◆ GetUrl()

std::string dl::Svn::GetUrl ( )
inline

在文件 dl_svn.h90 行定义.

◆ GetUserData()

void * dl::Svn::GetUserData ( )
inline

在文件 dl_svn.h95 行定义.

◆ GetWork()

const Work & dl::Svn::GetWork ( )
inline

在文件 dl_svn.h93 行定义.

◆ GetWorkLast()

const Work & dl::Svn::GetWorkLast ( )
inline

在文件 dl_svn.h94 行定义.

◆ GetWorkTypeName()

static std::string_view dl::Svn::GetWorkTypeName ( WorkType type)
static

◆ SetAccount()

void dl::Svn::SetAccount ( std::string_view username,
std::string_view password,
bool save_account )
inline

在文件 dl_svn.h68 行定义.

◆ SetComment()

void dl::Svn::SetComment ( std::string_view comment)
inline

在文件 dl_svn.h75 行定义.

◆ SetPath()

void dl::Svn::SetPath ( std::string_view path)
inline

在文件 dl_svn.h66 行定义.

◆ SetUrl()

void dl::Svn::SetUrl ( std::string_view url)
inline

在文件 dl_svn.h64 行定义.

◆ Update()

void dl::Svn::Update ( )

友元及相关符号说明

◆ SvnManager

friend class SvnManager
friend

在文件 dl_svn.h21 行定义.


该类的文档由以下文件生成: