Skip to content

Instantly share code, notes, and snippets.

// g_volume is HFSHighLevelVolume
void CDmgItem::readContents()
{
std::map<std::string, struct STAT> contents;
if (g_volume)
{
contents = g_volume->listDirectory(getPath()); // at SOME point it throws exception
for (auto it = contents.begin(); it != contents.end(); ++it)