code: def destroy(repo):
      _destroy_stages(repo)
      repo.close()
      destroy_dvcignore(repo.root_dir)
      remove(repo.dvc_dir)
  
imports: from dvc.ignore import destroy
  from dvc.utils.fs import remove
  from .None import locked
label_desc: Use image node_id 2 for calling a global function with example usage: destroy(repo) without return types