| 42 | }; |
| 43 | |
| 44 | static struct cache_entry *construct_sparse_dir_entry( |
| 45 | struct index_state *istate, |
| 46 | const char *sparse_dir, |
| 47 | struct cache_tree *tree) |
| 48 | { |
| 49 | struct cache_entry *de; |
| 50 | |
| 51 | de = make_cache_entry(istate, S_IFDIR, &tree->oid, sparse_dir, 0, 0); |
| 52 | |
| 53 | de->ce_flags |= CE_SKIP_WORKTREE; |
| 54 | return de; |
| 55 | } |
| 56 | |
| 57 | /* |
| 58 | * Returns the number of entries "inserted" into the index. |
no test coverage detected