def METHOD_NAME(self):
    if not self.exists:
        raise self.DoesNotExistError(self)
    if not self.isfile() and not self.isdir():
        raise self.IsNotFileOrDirError(self)
    self.ignore()
    self.hash_info = self.get_hash()