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

Function cache_tree_read

cache-tree.c:661–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659}
660
661struct cache_tree *cache_tree_read(const char *buffer, unsigned long size)
662{
663 struct cache_tree *result;
664
665 if (buffer[0])
666 return NULL; /* not the whole tree */
667
668 trace2_region_enter("cache_tree", "read", the_repository);
669 result = read_one(&buffer, &size);
670 trace2_region_leave("cache_tree", "read", the_repository);
671
672 return result;
673}
674
675static struct cache_tree *cache_tree_find(struct cache_tree *it, const char *path)
676{

Callers 1

read_index_extensionFunction · 0.85

Calls 1

read_oneFunction · 0.85

Tested by

no test coverage detected