Remove fetch-object.{c,h} in favor of promisor-remote.{c,h}
[git.git] / promisor-remote.h
blob838cb092f3c8bb8beab2b4c99a0c6b198a4ef64f
1 #ifndef PROMISOR_REMOTE_H
2 #define PROMISOR_REMOTE_H
4 struct object_id;
6 /*
7 * Promisor remote linked list
9 * Information in its fields come from remote.XXX config entries or
10 * from extensions.partialclone or core.partialclonefilter.
12 struct promisor_remote {
13 struct promisor_remote *next;
14 const char *partial_clone_filter;
15 const char name[FLEX_ARRAY];
18 extern void promisor_remote_reinit(void);
19 extern struct promisor_remote *promisor_remote_find(const char *remote_name);
20 extern int has_promisor_remote(void);
21 extern int promisor_remote_get_direct(struct repository *repo,
22 const struct object_id *oids,
23 int oid_nr);
25 #endif /* PROMISOR_REMOTE_H */