code: def getAllFilesUnderDir(root, pathFilter=None):
      retList = []
      for dirpath, dirnames, filenames in os.walk(root):
          for fn in filenames:
              filePath = os.path.join(dirpath, fn)
              if pathFilter(filePath):
                  retList.append(filePath)
      return retList
  
file_path: cugraph/ci/checks/copyright.py
imports: import argparse
  import datetime
  import os
  import re
  import sys
  import git
label_desc: Use image node_id 6 for calling a global function with example usage: getAllFilesUnderDir(root, pathFilter) and returns: retList