code: def uncommittedFiles():
      """
      Returns a list of all changed files that are not yet committed. This
      means both untracked/unstaged as well as uncommitted files too.
      """
      files = __git("status", "-u", "-s")
      ret = []
      for f in files.splitlines():
          f = f.strip(" ")
          f = re.sub("\s+", " ", f)  # noqa: W605
          tmp = f.split(" ", 1)
          # only consider staged files or uncommitted files
          # in other words, ignore untracked files
          if tmp[0] == "M" or tmp[0] == "A":
              ret.append(tmp[1])
      return ret
  
file_path: cugraph/ci/utils/git_helpers.py
imports: import subprocess
  import os
  import re
label_desc: Use image node_id 5 for calling a global function with example usage: uncommittedFiles() and returns: ret