SetPythonBridgeURL 设置 Python 运行时的 HTTP 桥接服务器地址 (PTC 支持)
(url string)
| 643 | |
| 644 | // SetPythonBridgeURL 设置 Python 运行时的 HTTP 桥接服务器地址 (PTC 支持) |
| 645 | func (m *RuntimeManager) SetPythonBridgeURL(url string) { |
| 646 | if runtime, ok := m.runtimes[LangPython].(*PythonRuntime); ok { |
| 647 | runtime.SetBridgeURL(url) |
| 648 | } |
| 649 | } |
| 650 | |
| 651 | // DetectLanguage 根据文件扩展名检测语言 |
| 652 | func DetectLanguage(filename string) Language { |
no test coverage detected