walker 11 http-fetch.c struct walker *walker; walker 73 http-fetch.c walker = get_http_walker(url); walker 74 http-fetch.c walker->get_tree = get_tree; walker 75 http-fetch.c walker->get_history = get_history; walker 76 http-fetch.c walker->get_all = get_all; walker 77 http-fetch.c walker->get_verbosely = get_verbosely; walker 78 http-fetch.c walker->get_recover = get_recover; walker 80 http-fetch.c rc = walker_fetch(walker, commits, commit_id, write_ref, url); walker 85 http-fetch.c if (walker->corrupt_object_found) { walker 92 http-fetch.c walker_free(walker); walker 21 http-walker.c struct walker *walker; walker 30 http-walker.c struct walker *walker; walker 46 http-walker.c static void fetch_alternates(struct walker *walker, const char *base); walker 50 http-walker.c static void start_object_request(struct walker *walker, walker 82 http-walker.c walker_say(obj_req->walker, "got %s\n", sha1_to_hex(obj_req->sha1)); walker 89 http-walker.c struct walker *walker = obj_req->walker; walker 90 http-walker.c struct walker_data *data = walker->data; walker 98 http-walker.c fetch_alternates(walker, alt->base); walker 103 http-walker.c start_object_request(walker, obj_req); walker 130 http-walker.c static int fill_active_slot(struct walker *walker) walker 139 http-walker.c start_object_request(walker, obj_req); walker 148 http-walker.c static void prefetch(struct walker *walker, unsigned char *sha1) walker 152 http-walker.c struct walker_data *data = walker->data; walker 155 http-walker.c newreq->walker = walker; walker 162 http-walker.c http_is_verbose = walker->get_verbosely; walker 183 http-walker.c struct walker *walker = alt_req->walker; walker 184 http-walker.c struct walker_data *cdata = walker->data; walker 292 http-walker.c if (walker->get_verbosely) walker 312 http-walker.c static void fetch_alternates(struct walker *walker, const char *base) walker 318 http-walker.c struct walker_data *cdata = walker->data; walker 338 http-walker.c if (walker->get_verbosely) walker 349 http-walker.c alt_req.walker = walker; walker 371 http-walker.c static int fetch_indices(struct walker *walker, struct alt_base *repo) walker 378 http-walker.c if (walker->get_verbosely) walker 395 http-walker.c static int http_fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1) walker 402 http-walker.c if (fetch_indices(walker, repo)) walker 408 http-walker.c if (walker->get_verbosely) { walker 449 http-walker.c static int fetch_object(struct walker *walker, struct alt_base *repo, unsigned char *sha1) walker 472 http-walker.c start_object_request(walker, obj_req); walker 501 http-walker.c walker->corrupt_object_found++; walker 515 http-walker.c static int fetch(struct walker *walker, unsigned char *sha1) walker 517 http-walker.c struct walker_data *data = walker->data; walker 520 http-walker.c if (!fetch_object(walker, altbase, sha1)) walker 523 http-walker.c if (!http_fetch_pack(walker, altbase, sha1)) walker 525 http-walker.c fetch_alternates(walker, data->alt->base); walker 532 http-walker.c static int fetch_ref(struct walker *walker, struct ref *ref) walker 534 http-walker.c struct walker_data *data = walker->data; walker 538 http-walker.c static void cleanup(struct walker *walker) walker 540 http-walker.c struct walker_data *data = walker->data; walker 554 http-walker.c walker->data = NULL; walker 558 http-walker.c struct walker *get_http_walker(const char *url) walker 562 http-walker.c struct walker *walker = xmalloc(sizeof(struct walker)); walker 574 http-walker.c walker->corrupt_object_found = 0; walker 575 http-walker.c walker->fetch = fetch; walker 576 http-walker.c walker->fetch_ref = fetch_ref; walker 577 http-walker.c walker->prefetch = prefetch; walker 578 http-walker.c walker->cleanup = cleanup; walker 579 http-walker.c walker->data = data; walker 582 http-walker.c add_fill_function(walker, (int (*)(void *)) fill_active_slot); walker 585 http-walker.c return walker; walker 701 remote-curl.c struct walker *walker; walker 710 remote-curl.c walker = get_http_walker(url.buf); walker 711 remote-curl.c walker->get_all = 1; walker 712 remote-curl.c walker->get_tree = 1; walker 713 remote-curl.c walker->get_history = 1; walker 714 remote-curl.c walker->get_verbosely = options.verbosity >= 3; walker 715 remote-curl.c walker->get_recover = 0; walker 716 remote-curl.c ret = walker_fetch(walker, nr_heads, targets, NULL, NULL); walker 717 remote-curl.c walker_free(walker); walker 12 walker.c void walker_say(struct walker *walker, const char *fmt, const char *hex) walker 14 walker.c if (walker->get_verbosely) walker 29 walker.c static int process(struct walker *walker, struct object *obj); walker 31 walker.c static int process_tree(struct walker *walker, struct tree *tree) walker 56 walker.c if (!obj || process(walker, obj)) walker 70 walker.c static int process_commit(struct walker *walker, struct commit *commit) walker 84 walker.c walker_say(walker, "walk %s\n", sha1_to_hex(commit->object.sha1)); walker 86 walker.c if (walker->get_tree) { walker 87 walker.c if (process(walker, &commit->tree->object)) walker 89 walker.c if (!walker->get_all) walker 90 walker.c walker->get_tree = 0; walker 92 walker.c if (walker->get_history) { walker 95 walker.c if (process(walker, &parents->item->object)) walker 102 walker.c static int process_tag(struct walker *walker, struct tag *tag) walker 106 walker.c return process(walker, tag->tagged); walker 112 walker.c static int process_object(struct walker *walker, struct object *obj) walker 115 walker.c if (process_commit(walker, (struct commit *)obj)) walker 120 walker.c if (process_tree(walker, (struct tree *)obj)) walker 128 walker.c if (process_tag(walker, (struct tag *)obj)) walker 137 walker.c static int process(struct walker *walker, struct object *obj) walker 150 walker.c walker->prefetch(walker, obj->sha1); walker 158 walker.c static int loop(struct walker *walker) walker 174 walker.c if (walker->fetch(walker, obj->sha1)) { walker 181 walker.c if (process_object(walker, obj)) walker 187 walker.c static int interpret_target(struct walker *walker, char *target, unsigned char *sha1) walker 193 walker.c if (!walker->fetch_ref(walker, ref)) { walker 253 walker.c int walker_fetch(struct walker *walker, int targets, char **target, walker 273 walker.c if (!walker->get_recover) { walker 279 walker.c if (interpret_target(walker, target[i], &sha1[20 * i])) { walker 283 walker.c if (process(walker, lookup_unknown_object(&sha1[20 * i]))) walker 287 walker.c if (loop(walker)) walker 327 walker.c void walker_free(struct walker *walker) walker 329 walker.c walker->cleanup(walker); walker 330 walker.c free(walker); walker 8 walker.h int (*fetch_ref)(struct walker *, struct ref *ref); walker 9 walker.h void (*prefetch)(struct walker *, unsigned char *sha1); walker 10 walker.h int (*fetch)(struct walker *, unsigned char *sha1); walker 11 walker.h void (*cleanup)(struct walker *); walker 22 walker.h void walker_say(struct walker *walker, const char *, const char *); walker 32 walker.h int walker_fetch(struct walker *impl, int targets, char **target, walker 35 walker.h void walker_free(struct walker *walker); walker 37 walker.h struct walker *get_http_walker(const char *url);