- Implemented RenameService for handling file renaming with features like name validation, proposed name generation, conflict detection, and atomic rename operations. - Created utility modules for language code extraction, regex pattern matching, and frame class matching to centralize common functionalities. - Added comprehensive logging for error handling and debugging across all new modules.
22 lines
748 B
Python
22 lines
748 B
Python
"""Services package - business logic layer for the Renamer application.
|
|
|
|
This package contains service classes that encapsulate business logic and
|
|
coordinate between different components. Services provide a clean separation
|
|
of concerns and make the application more testable and maintainable.
|
|
|
|
Services:
|
|
- FileTreeService: Manages file tree operations (scanning, building, filtering)
|
|
- MetadataService: Coordinates metadata extraction with caching and threading
|
|
- RenameService: Handles file rename operations with validation
|
|
"""
|
|
|
|
from .file_tree_service import FileTreeService
|
|
from .metadata_service import MetadataService
|
|
from .rename_service import RenameService
|
|
|
|
__all__ = [
|
|
'FileTreeService',
|
|
'MetadataService',
|
|
'RenameService',
|
|
]
|