MCPcopy Create free account
hub / github.com/NetEase/tango / removeServiceFunction

Method removeServiceFunction

packages/core/src/models/workspace.ts:690–692  ·  view source on GitHub ↗

* 删除服务函数 * @param name

(name: string, moduleName = 'index')

Source from the content-addressed store, hash-verified

688 * @param name
689 */
690 removeServiceFunction(name: string, moduleName = 'index') {
691 this.serviceModules[moduleName]?.deleteServiceFunction(name).update();
692 }
693
694 /**
695 * 更新服务的基础配置

Callers 1

Calls 2

deleteServiceFunctionMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected