code: def status(dir, ignored=False):
      try:
          return util.try_apply([_try_git_status], dir, ignored)
      except util.TryFailed:
          raise UnsupportedRepo(dir) from None
  
imports: import collections
  import logging
  import re
  import os
  import subprocess
  from guild import config
  from guild import file_util
  from guild import util
  from guild.file_util import FileSelectRule
label_desc: Use image node_id 10 for calling a global function with example usage: status(dir, ignored) and returns: util