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

Function dir_entry_new

dir.c:1841–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1839}
1840
1841static struct dir_entry *dir_entry_new(const char *pathname, int len)
1842{
1843 struct dir_entry *ent;
1844
1845 FLEX_ALLOC_MEM(ent, name, pathname, len);
1846 ent->len = len;
1847 return ent;
1848}
1849
1850static struct dir_entry *dir_add_name(struct dir_struct *dir,
1851 struct index_state *istate,

Callers 2

dir_add_nameFunction · 0.85
dir_add_ignoredFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected