--------------------------------- Directory::RecursiveMount Recursively mount all subdirectories
| 455 | // Recursively mount all subdirectories |
| 456 | // |
| 457 | void Directory::RecursiveMount() |
| 458 | { |
| 459 | for (auto c : m_pChildren) |
| 460 | { |
| 461 | if (c->GetType() == Entry::EntryType::ENTRY_DIRECTORY) |
| 462 | { |
| 463 | if (c->GetName() != "../" && c->GetName() != "./") |
| 464 | { |
| 465 | static_cast<Directory*>(c)->Mount(true); |
| 466 | } |
| 467 | } |
| 468 | } |
| 469 | } |
| 470 | |
| 471 | //--------------------------------- |
| 472 | // Directory::GetMountedChildRecursive |