code: def get_dirinfo(self, name: str):
          '''
          get a `DirectoryInfo` for a directory (without create actual directory).
          '''
          return DirectoryInfo(os.path.join(self._path, name)f get_dirinfo(self, name: str):
          '''
          get a `DirectoryInfo` for a directory (without create actual directory).
          '''
          return DirectoryInfo(os.path.join(self._path, name))
docs: get a `DirectoryInfo` for a directory (without create actual directory).