]>
git.proxmox.com Git - libgit2.git/blob - src/fetch.h
2 * Copyright (C) 2009-2012 the libgit2 contributors
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_fetch_h__
8 #define INCLUDE_fetch_h__
12 int git_fetch_negotiate(git_remote
*remote
);
13 int git_fetch_download_pack(git_remote
*remote
, git_off_t
*bytes
, git_indexer_stats
*stats
);
15 int git_fetch__download_pack(const char *buffered
, size_t buffered_size
, GIT_SOCKET fd
,
16 git_repository
*repo
, git_off_t
*bytes
, git_indexer_stats
*stats
);
17 int git_fetch_setup_walk(git_revwalk
**out
, git_repository
*repo
);