| 1039 | } |
| 1040 | |
| 1041 | static void process_ls_object(struct remote_ls_ctx *ls) |
| 1042 | { |
| 1043 | unsigned int *parent = (unsigned int *)ls->userData; |
| 1044 | const char *path = ls->dentry_name; |
| 1045 | struct object_id oid; |
| 1046 | |
| 1047 | if (!strcmp(ls->path, ls->dentry_name) && (ls->flags & IS_DIR)) { |
| 1048 | remote_dir_exists[*parent] = 1; |
| 1049 | return; |
| 1050 | } |
| 1051 | |
| 1052 | if (!skip_prefix(path, "objects/", &path) || |
| 1053 | get_oid_hex_from_objpath(path, &oid)) |
| 1054 | return; |
| 1055 | |
| 1056 | one_remote_object(&oid); |
| 1057 | } |
| 1058 | |
| 1059 | static void process_ls_ref(struct remote_ls_ctx *ls) |
| 1060 | { |
nothing calls this directly
no test coverage detected