File: oid.h

package info (click to toggle)
python-pygit2 1.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,720 kB
  • sloc: ansic: 12,584; python: 9,337; sh: 205; makefile: 26
file content (16 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typedef enum {
	GIT_OID_SHA1 = 1,  /**< SHA1 */
} git_oid_t;

typedef struct git_oid {
	unsigned char id[20];
} git_oid;

// This should go to net.h but due to h_order in _run.py, ffi won't compile properly.
typedef struct git_remote_head {
        int local;
        git_oid oid;
        git_oid loid;
        char *name;
        char *symref_target;
} git_remote_head;