code: def delete_file_path(path):
      try:
          if os.path.isfile(path):
              os.remove(path)
          if os.path.isdir(path):
              shutil.rmtree(path)
      except OSError:
          pass
  
file_path: serve/workflow-archiver/workflow_archiver/tests/integ_tests/test_integration_workflow_archiver.py
imports: from datetime import datetime
  import errno
  import json
  import os
  import shutil
  import subprocess
  import workflow_archiver
label_desc: Use image node_id 2 for calling a global function with example usage: delete_file_path(path) without return types