1 Star 0 Fork 0

SnowLeaf / git

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
connect.h 676 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef CONNECT_H
#define CONNECT_H
#define CONNECT_VERBOSE (1u << 0)
#define CONNECT_DIAG_URL (1u << 1)
#define CONNECT_IPV4 (1u << 2)
#define CONNECT_IPV6 (1u << 3)
extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags);
extern int finish_connect(struct child_process *conn);
extern int git_connection_is_socket(struct child_process *conn);
extern int server_supports(const char *feature);
extern int parse_feature_request(const char *features, const char *feature);
extern const char *server_feature_value(const char *feature, int *len_ret);
extern int url_is_local_not_ssh(const char *url);
#endif
1
https://gitee.com/snow.leaf/git.git
git@gitee.com:snow.leaf/git.git
snow.leaf
git
git
master

搜索帮助