| 659 | } |
| 660 | |
| 661 | struct 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 | |
| 675 | static struct cache_tree *cache_tree_find(struct cache_tree *it, const char *path) |
| 676 | { |
no test coverage detected