jade.utils.utils.get_filenames_in_path

jade.utils.utils.get_filenames_in_path(directory, filename, is_regex=False)[source]

Return all files in directory matching filename, searching recursively.

Parameters:
  • directory (str)

  • ext (str) – file extension, ex: .log

  • is_regex (bool) – Treat filename as regular expression.

Return type:

generator