MCPcopy Create free account
hub / github.com/git/git / list_add_tail

Function list_add_tail

list.h:64–70  ·  view source on GitHub ↗

Add new element at the tail of the list. */

Source from the content-addressed store, hash-verified

62
63/* Add new element at the tail of the list. */
64static inline void list_add_tail(struct list_head *newp, struct list_head *head)
65{
66 head->prev->next = newp;
67 newp->next = head;
68 newp->prev = head->prev;
69 head->prev = newp;
70}
71
72/* Remove element from list. */
73static inline void __list_del(struct list_head *prev, struct list_head *next)

Callers 11

prefetchFunction · 0.85
add_delta_base_cacheFunction · 0.85
chdir_notify_registerFunction · 0.85
add_arg_to_input_listFunction · 0.85
apply_arg_if_missingFunction · 0.85
get_conf_itemFunction · 0.85
add_trailer_itemFunction · 0.85
add_arg_itemFunction · 0.85
list_replace_initFunction · 0.85
option_parse_trailerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected