MCPcopy
hub / github.com/leonhartX/gas-github / push

Method push

src/scm/github.js:20–23  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

18
19
20 push(code) {
21 if (isGist()) return this.pushToGist(code);
22 return this.pushToRepo(code);
23 }
24
25 pushToRepo(code) {
26 const changed = $('.diff-file:checked').toArray().map(elem => elem.value);

Callers

nothing calls this directly

Calls 3

pushToGistMethod · 0.95
pushToRepoMethod · 0.95
isGistFunction · 0.85

Tested by

no test coverage detected