(self, vpath: str, mode: str)
| 133 | return opener(absvpath, ql_file.open, flags, mode) |
| 134 | |
| 135 | def open(self, vpath: str, mode: str): |
| 136 | absvpath = self.path.virtual_abspath(vpath) |
| 137 | opener = self.__open_mapped if self.has_mapping(absvpath) else self.__open_new |
| 138 | |
| 139 | return opener(absvpath, open, mode) |
| 140 | |
| 141 | def file_exists(self, vpath: str) -> bool: |
| 142 | """Check whether a file exists on the virtual file system. |