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