code: def delete_runs(runs, permanent=False):
      for run in runs:
          src = run.dir
          if permanent:
              _delete_run(src)
          else:
              dest = os.path.join(runs_dir(deleted=True), run.id)
              _move(src, dest)
  
imports: import errno
  import functools
  import logging
  import os
  import shutil
  import tempfile
  from guild import config
  from guild import run
  from guild import util
label_desc: Use image node_id 25 for calling a global function with example usage: delete_runs(runs, permanent) without return types