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

Method commit

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

Source from the content-addressed store, hash-verified

1526 }
1527
1528 commit(message: string, changeTree: { parentSha?: string; sha: string }) {
1529 const parents = changeTree.parentSha ? [changeTree.parentSha] : [];
1530 return this.createCommit(message, changeTree.sha, parents);
1531 }
1532
1533 async createCommit(
1534 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