code: def _destroy_stages(repo):
      for stage in repo.index.stages:
          stage.unprotect_outs()
          stage.dvcfile.remove(force=True)
  
imports: from dvc.ignore import destroy
  from dvc.utils.fs import remove
  from .None import locked
label_desc: Use image node_id 1 for calling a global function with example usage: _destroy_stages(repo) without return types