* Decode the entry currently being visited (the one pointed to by * `tree_desc's` `entry` member) and return the sha1 of the entry. The * `pathp` and `modep` arguments are set to the entry's pathname and mode * respectively. */
| 50 | * respectively. |
| 51 | */ |
| 52 | static inline const struct object_id *tree_entry_extract(struct tree_desc *desc, const char **pathp, unsigned short *modep) |
| 53 | { |
| 54 | *pathp = desc->entry.path; |
| 55 | *modep = desc->entry.mode; |
| 56 | return &desc->entry.oid; |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Calculate the length of a tree entry's pathname. This utilizes the |
no outgoing calls
no test coverage detected