code: def GetParentFileEntry(self):
      
      volume_index = lvm.LVMPathSpecGetVolumeIndex(self.path_spec)
      if volume_index is None:
        return None
  
      return self._file_system.GetRootFileEntry()
docs: Retrieves the parent file entry.
  
      Returns:
        LVMFileEntry: parent file entry or None if not available.