MCPcopy Index your code
hub / github.com/HKUDS/DeepCode / log_operation

Function log_operation

tools/code_implementation_server.py:103–107  ·  view source on GitHub ↗

Log operation history

(action: str, details: Dict[str, Any])

Source from the content-addressed store, hash-verified

101
102
103def log_operation(action: str, details: Dict[str, Any]):
104 """Log operation history"""
105 OPERATION_HISTORY.append(
106 {"timestamp": datetime.now().isoformat(), "action": action, "details": details}
107 )
108
109
110# ==================== File Operation Tools ====================

Callers 10

read_fileFunction · 0.85
read_multiple_filesFunction · 0.85
write_fileFunction · 0.85
write_multiple_filesFunction · 0.85
execute_pythonFunction · 0.85
execute_bashFunction · 0.85
read_code_memFunction · 0.85
search_codeFunction · 0.85
get_file_structureFunction · 0.85
set_workspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected