def JobQueuePurge():
  _CleanDirectory(pathutils.QUEUE_DIR, exclude=[pathutils.JOB_QUEUE_LOCK_FILE])
  _CleanDirectory(pathutils.JOB_QUEUE_ARCHIVE_DIR)
Removes job queue files and archived jobs.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/JobQueuePurge