(self, path)
| 56 | |
| 57 | # Get Directory Contents |
| 58 | def list_directory(self, path): |
| 59 | if path: |
| 60 | block, name = self.__resolve_path(path) |
| 61 | block = self.__disk.find(block, name) |
| 62 | assert block |
| 63 | else: |
| 64 | block = 1 |
| 65 | directory = self.__disk.list_directory(block) |
| 66 | names = [self.__disk.name(block) for block in directory] |
| 67 | return names |
| 68 | |
| 69 | # Check If Empty |
| 70 | def empty(self, path): |
nothing calls this directly
no test coverage detected