code: def splitroot(self, path, sep=None):
          
          if sep is None:
              sep = self.filesystem.path_separator
          if self.filesystem.is_windows_fs:
              return self._splitroot_with_drive(path, sep)
          return self._splitroot_posix(path, sep)
docs: Split path into drive, root and rest.