MCPcopy
hub / github.com/HisMax/RedInk / get_history_service

Function get_history_service

backend/services/history.py:715–725  ·  view source on GitHub ↗

获取历史记录服务实例(单例模式) Returns: HistoryService: 历史记录服务实例

()

Source from the content-addressed store, hash-verified

713
714
715def get_history_service() -> HistoryService:
716 """
717 获取历史记录服务实例(单例模式)
718
719 Returns:
720 HistoryService: 历史记录服务实例
721 """
722 global _service_instance
723 if _service_instance is None:
724 _service_instance = HistoryService()
725 return _service_instance

Callers 12

create_historyFunction · 0.90
list_historyFunction · 0.90
get_historyFunction · 0.90
check_history_existsFunction · 0.90
update_historyFunction · 0.90
delete_historyFunction · 0.90
search_historyFunction · 0.90
get_history_statsFunction · 0.90
scan_taskFunction · 0.90
scan_all_tasksFunction · 0.90
download_history_zipFunction · 0.90
__init__Method · 0.90

Calls 1

HistoryServiceClass · 0.85

Tested by

no test coverage detected