| 721 | } |
| 722 | |
| 723 | DirectoryRef MountSystem::openDirectory(const Path& path) |
| 724 | { |
| 725 | FileNodeRef node = getFileNode(path); |
| 726 | |
| 727 | if (node != NULL) |
| 728 | { |
| 729 | DirectoryRef dir = dynamic_cast<Directory*>(node.getPointer()); |
| 730 | if (dir != NULL) |
| 731 | { |
| 732 | dir->open(); |
| 733 | return dir; |
| 734 | } |
| 735 | } |
| 736 | return NULL; |
| 737 | } |
| 738 | |
| 739 | bool MountSystem::remove(const Path& path) |
| 740 | { |
no test coverage detected