def update(self, path, status):
    if status == Changelist.Status.ADDED:
      self.add_paths.add(path)
    elif status == Changelist.Status.REMOVED:
      self.rm_paths.add(path)
    elif status == Changelist.Status.MODIFIED:
      self.mod_paths.add(path)
    else:
      raise InvalidArgument("invalid status: %s" % status)
dataset/ETHPy150Open bloomreach/zinc/zinc.py/Changelist.update/original