refactor: 删除未使用的 detect_file_type 函数
- 移除 scripts/utils/file_detection.py 中的 _FILE_TYPE_VALIDATORS 字典 - 移除 scripts/utils/file_detection.py 中的 detect_file_type 函数 - 从 scripts/utils/__init__.py 中移除 detect_file_type 的导入和导出
This commit is contained in:
@@ -10,7 +10,6 @@ from .file_detection import (
|
||||
is_valid_ppt,
|
||||
is_html_file,
|
||||
is_url,
|
||||
detect_file_type,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
@@ -23,5 +22,4 @@ __all__ = [
|
||||
"is_valid_ppt",
|
||||
"is_html_file",
|
||||
"is_url",
|
||||
"detect_file_type",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user