code: def ls_files(*patterns: str) -> list[str]:
      proc = run(
          ["git", "ls-files", "--", *patterns], capture_output=True
      )
      return proc.stdout.decode("utf-8").split("\n")
  
file_path: bokeh/tests/support/util/project.py
imports: from __future__ import annotations
  import logging
  from pathlib import Path
  from subprocess import run
  from typing import Sequence
label_desc: Use image node_id 1 for calling a global function with example usage: ls_files() and returns: proc