git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / upload-pack.h
| 1 | #ifndef UPLOAD_PACK_H |
| 2 | #define UPLOAD_PACK_H |
| 3 | |
| 4 | void upload_pack(const int advertise_refs, const int stateless_rpc, |
| 5 | const int timeout); |
| 6 | |
| 7 | struct repository; |
| 8 | struct packet_reader; |
| 9 | int upload_pack_v2(struct repository *r, struct packet_reader *request); |
| 10 | |
| 11 | struct strbuf; |
| 12 | int upload_pack_advertise(struct repository *r, |
| 13 | struct strbuf *value); |
| 14 | |
| 15 | /* Is this repo trusted for lazy fetching? */ |
| 16 | bool upload_pack_lazy_fetch_trusted(struct repository *r); |
| 17 | |
| 18 | #endif /* UPLOAD_PACK_H */ |