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

Method mergeUpstream

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

Source from the content-addressed store, hash-verified

1069 }
1070
1071 async mergeUpstream(): Promise<void> {
1072 try {
1073 await this.request(`${this.repoURL}/sync_fork`, {
1074 method: 'POST',
1075 });
1076 } catch (error) {
1077 // continue without syncing - user will need to sync manually
1078 console.warn('Failed to sync fork with upstream:', error);
1079 }
1080 }
1081}

Callers 1

authenticateWithForkMethod · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected