* Add root refs to the ref dir by parsing the directory for any files which * follow the root ref syntax. */
| 419 | * follow the root ref syntax. |
| 420 | */ |
| 421 | static void add_root_refs(struct files_ref_store *refs, |
| 422 | struct ref_dir *dir) |
| 423 | { |
| 424 | struct fill_root_ref_data data = { |
| 425 | .refs = refs, |
| 426 | .dir = dir, |
| 427 | }; |
| 428 | |
| 429 | for_each_root_ref(refs, fill_root_ref, &data); |
| 430 | } |
| 431 | |
| 432 | static struct ref_cache *get_loose_ref_cache(struct files_ref_store *refs, |
| 433 | unsigned int flags) |
no test coverage detected