MCPcopy
hub / github.com/youzan/zan-proxy / remove

Method remove

src/core/manager/controller/plugin.ts:53–57  ·  view source on GitHub ↗
(@Ctx() ctx: Context)

Source from the content-addressed store, hash-verified

51
52 @Post('/remove')
53 public async remove(@Ctx() ctx: Context) {
54 const { name } = ctx.request.body;
55 await this.pluginManager.uninstall(name);
56 return true;
57 }
58
59 public mountCustomPluginsManager(app: Koa) {
60 const plugins = this.pluginManager.getPlugins();

Callers 11

deleteHostFileMethod · 0.80
saveMockListMethod · 0.80
deleteRuleFileMethod · 0.80
WFunction · 0.80
theme.jsFile · 0.80
pFunction · 0.80
lFunction · 0.80
BFunction · 0.80
gitbook.jsFile · 0.80
lunr.min.jsFile · 0.80
lunr.min.jsFile · 0.80

Calls 1

uninstallMethod · 0.80

Tested by

no test coverage detected