MCPcopy
hub / github.com/alibaba/pont / syncRemote

Method syncRemote

packages/vscode-pont/src/commands/index.ts:137–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136 @command('pont.syncRemote')
137 async syncRemote() {
138 const currentManager = this.manager.getCurrentOriginManage();
139 await showProgress('拉取远程数据源', async (report) => {
140 report('拉取中...');
141 await currentManager.updateRemoteDataSource();
142 report('差异比对中...');
143 await currentManager.updateDiffs();
144 report('完成');
145 getPontOriginsProvider().refresh(this.manager);
146 });
147 }
148
149 @command('pont.findInterface')
150 async findInterface(ignoreEdit = false) {

Callers

nothing calls this directly

Calls 6

showProgressFunction · 0.90
getPontOriginsProviderFunction · 0.90
updateDiffsMethod · 0.80
refreshMethod · 0.80

Tested by

no test coverage detected