␊ |
// Read the BTree node and get the record for index.␊ |
ReadExtent(extent, extentSize, kHFSCatalogFileID,␊ |
curNode * nodeSize, nodeSize, nodeBuf, 1);␊ |
(long long)curNode * nodeSize, nodeSize, nodeBuf, 1);␊ |
GetBTreeRecord(index, nodeBuf, nodeSize, &testKey, &entry);␊ |
␊ |
GetCatalogEntryInfo(entry, flags, time, finderInfo, infoValid);␊ |
|
while (1) {␊ |
// Read the current node.␊ |
ReadExtent(extent, extentSize, extentFile,␊ |
curNode * nodeSize, nodeSize, nodeBuf, 1);␊ |
(long long)curNode * nodeSize, nodeSize, nodeBuf, 1);␊ |
␊ |
// Find the matching key.␊ |
lowerBound = 0;␊ |