code: def _diff_paths(run, other_run, args):
      paths = []
      if args.attrs:
          _warn_redundant_attr_options(args)
          paths.extend(_attrs_paths(run, other_run))
      else:
          if args.env:
              paths.extend(_env_paths(run, other_run))
          if args.flags:
              paths.extend(_flags_paths(run, other_run))
          if args.deps:
              paths.extend(_deps_paths(run, other_run))
      if args.output:
          paths.extend(_output_paths(run, other_run))
      if args.sourcecode:
          paths.extend(_sourcecode_paths(run, other_run, args))
      else:
          paths.extend(_base_paths(run, other_run, args))
      if not paths:
          paths.append((run.dir, other_run.dir))
      return paths
  
imports: import logging
  import os
  import re
  import subprocess
  from guild import cli
  from guild import click_util
  from guild import cmd_impl_support
  from guild import config
  from guild import run_util
  from guild import util
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 26 for calling a global function with example usage: _diff_paths(run, other_run, args) and returns: paths