forked from gitster/git
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbundle.h
More file actions
Latest commit
27 lines (23 loc) · 707 Bytes
/
Copy pathbundle.h
File metadata and controls
27 lines (23 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndefBUNDLE_H
#defineBUNDLE_H
structref_list {
unsigned intnr, alloc;
structref_list_entry {
unsigned charsha1[20];
char*name;
} *list;
};
structbundle_header {
structref_listprerequisites;
structref_listreferences;
};
intis_bundle(constchar*path, intquiet);
intread_bundle_header(constchar*path, structbundle_header*header);
intcreate_bundle(structbundle_header*header, constchar*path,
intargc, constchar**argv);
intverify_bundle(structbundle_header*header, intverbose);
#defineBUNDLE_VERBOSE 1
intunbundle(structbundle_header*header, intbundle_fd, intflags);
intlist_bundle_refs(structbundle_header*header,
intargc, constchar**argv);
#endif