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

Method commit

packages/decap-cms-backend-github/src/API.ts:1502–1505  ·  view source on GitHub ↗
(message: string, changeTree: { parentSha?: string; sha: string })

Source from the content-addressed store, hash-verified

1500 }
1501
1502 commit(message: string, changeTree: { parentSha?: string; sha: string }) {
1503 const parents = changeTree.parentSha ? [changeTree.parentSha] : [];
1504 return this.createCommit(message, changeTree.sha, parents);
1505 }
1506
1507 async createCommit(
1508 message: string,

Callers 11

checkMetadataRefMethod · 0.95
storeMetadataMethod · 0.95
deleteMetadataMethod · 0.95
persistFilesMethod · 0.95
deleteFilesMethod · 0.95
editorialWorkflowGitMethod · 0.95
forceMergePRMethod · 0.95
commitFunction · 0.45
prepareTestBitBucketRepoFunction · 0.45
initRepoFunction · 0.45
setupGitGatewayFunction · 0.45

Calls 1

createCommitMethod · 0.95

Tested by

no test coverage detected