MCPcopy Create free account
hub / github.com/Wscats/vscode-explore / _cloneContribute

Method _cloneContribute

contextKeyExpr/src/contributes.ts:23–25  ·  view source on GitHub ↗
(confg: Config)

Source from the content-addressed store, hash-verified

21
22 // 深度克隆配置项
23 private _cloneContribute(confg: Config) {
24 return JSON.parse(JSON.stringify(confg))
25 }
26
27 public getContribute(name: string) {
28 // 获取缓存的配置并进行深拷贝

Callers 1

getContributeMethod · 0.95

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected