zvt.utils.file_utils.list_all_files

zvt.utils.file_utils.list_all_files(dir_path: str = './domain', ext: Optional[str] = '.py', excludes=None, includes=None, return_base_name=False) List[str]

list all files with extension in specific directory recursively

Parameters
  • includes – including files, None means all

  • dir_path – the directory path

  • ext – file extension

  • excludes – excluding files

  • return_base_name – return file name if True otherwise abs path

Returns