add the static file dir Args: static_file_dir (str): the path of the static file
(self, static_file_dir: Optional[str])
| 114 | self.cache_dirs = cache_dirs or [] |
| 115 | |
| 116 | def add_dir(self, static_file_dir: Optional[str]) -> None: |
| 117 | """add the static file dir |
| 118 | |
| 119 | Args: |
| 120 | static_file_dir (str): the path of the static file |
| 121 | """ |
| 122 | if not static_file_dir: |
| 123 | return |
| 124 | self.cache_dirs.append(static_file_dir) |
| 125 | |
| 126 | def _find_file_path_recursive(self, base_dir: str, name: str) -> Optional[str]: |
| 127 | """find the file based on the file-name which will & should be union |