2 * Copyright (C) the libgit2 contributors. All rights reserved.
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
, const git_fetch_options
*opts
);
14 int git_fetch_download_pack(git_remote
*remote
, const git_remote_callbacks
*callbacks
);
16 int git_fetch__download_pack(
19 git_transfer_progress
*stats
,
20 git_transfer_progress_cb progress_cb
,
21 void *progress_payload
);
23 int git_fetch_setup_walk(git_revwalk
**out
, git_repository
*repo
);