code: def set_data_location(self, current_extent, tag_location):  # pylint: disable=unused-argument
          # type: (int, int) -> None
          '''
          A method to set the new extent location that the data for this Directory
          Record should live at.
  
          Parameters:
           current_extent - The new extent.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Directory Record not yet initialized')
  
          self.new_extent_loc = current_extent
          if self.ptr is not None:
              self.ptr.update_extent_location(current_extentf set_data_location(self, current_extent, tag_location):  # pylint: disable=unused-argument
          # type: (int, int) -> None
          '''
          A method to set the new extent location that the data for this Directory
          Record should live at.
  
          Parameters:
           current_extent - The new extent.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Directory Record not yet initialized')
  
          self.new_extent_loc = current_extent
          if self.ptr is not None:
              self.ptr.update_extent_location(current_extent)
docs: A method to set the new extent location that the data for this Directory
          Record should live at.
  
          Parameters:
           current_extent - The new extent.
          Returns:
           Nothing.