]> git.proxmox.com Git - libgit2.git/blob - include/git2/sys/remote.h
dd243ca55d6f1cf7248b75828e2bc718ae1771df
[libgit2.git] / include / git2 / sys / remote.h
1 /*
2 * Copyright (C) the libgit2 contributors. All rights reserved.
3 *
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.
6 */
7
8 #ifndef INCLUDE_sys_git_remote_h
9 #define INCLUDE_sys_git_remote_h
10
11 /**
12 * @file git2/sys/remote.h
13 * @brief Low-level remote functionality for custom transports
14 * @defgroup git_remote Low-level remote functionality
15 * @ingroup Git
16 * @{
17 */
18
19 GIT_BEGIN_DECL
20
21 typedef enum {
22 /** Remote supports fetching an advertised object by ID. */
23 GIT_REMOTE_CAPABILITY_TIP_OID = (1 << 0),
24
25 /** Remote supports fetching an individual reachable object. */
26 GIT_REMOTE_CAPABILITY_REACHABLE_OID = (1 << 1),
27 } git_remote_capability_t;
28
29 /** @} */
30 GIT_END_DECL
31 #endif