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

Function debug_unpack_callback

unpack-trees.c:1430–1443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1428}
1429
1430static void debug_unpack_callback(int n,
1431 unsigned long mask,
1432 unsigned long dirmask,
1433 struct name_entry *names,
1434 struct traverse_info *info)
1435{
1436 int i;
1437 printf("* unpack mask %lu, dirmask %lu, cnt %d ",
1438 mask, dirmask, n);
1439 debug_path(info);
1440 putchar('\n');
1441 for (i = 0; i < n; i++)
1442 debug_name_entry(i, names + i);
1443}
1444
1445/*
1446 * Returns true if and only if the given cache_entry is a

Callers 1

unpack_callbackFunction · 0.85

Calls 2

debug_pathFunction · 0.85
debug_name_entryFunction · 0.85

Tested by

no test coverage detected