code: def _unlink(path, onerror):
      try:
          os.unlink(path)
      except OSError:
          onerror(os.unlink, path, sys.exc_info())
  
file_path: dvc/dvc/utils/fs.py
imports: import errno
  import os
  import shutil
  import stat
  import sys
  from typing import TYPE_CHECKING
  from dvc.exceptions import DvcException
  from dvc.log import logger
label_desc: Use image node_id 3 for calling a global function with example usage: _unlink(path, onerror) without return types