MCPcopy Index your code
hub / github.com/git/git / tree_entry_len

Function tree_entry_len

tree-walk.h:64–67  ·  view source on GitHub ↗

* Calculate the length of a tree entry's pathname. This utilizes the * memory structure of a tree entry to avoid the overhead of using a * generic strlen(). */

Source from the content-addressed store, hash-verified

62 * generic strlen().
63 */
64static inline int tree_entry_len(const struct name_entry *ne)
65{
66 return ne->pathlen;
67}
68
69/*
70 * The _gently versions of these functions warn and return false on a

Callers 15

tree_entry_pathcmpFunction · 0.85
emit_pathFunction · 0.85
traverse_trees_recursiveFunction · 0.85
compare_entryFunction · 0.85
create_ce_entryFunction · 0.85
extended_entry_extractFunction · 0.85
traverse_treesFunction · 0.85
find_tree_entryFunction · 0.85
do_matchFunction · 0.85
read_tree_atFunction · 0.85
fsck_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected