MCPcopy Create free account
hub / github.com/decaporg/decap-cms / mergeUpstream

Method mergeUpstream

packages/decap-cms-backend-forgejo/src/API.ts:1044–1053  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1042 }
1043
1044 async mergeUpstream(): Promise<void> {
1045 try {
1046 await this.request(`${this.repoURL}/sync_fork`, {
1047 method: 'POST',
1048 });
1049 } catch (error) {
1050 // continue without syncing - user will need to sync manually
1051 console.warn('Failed to sync fork with upstream:', error);
1052 }
1053 }
1054}

Callers 1

authenticateWithForkMethod · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected