MCPcopy Create free account
hub / github.com/async-labs/builderbook / getCommits

Function getCommits

server/github.js:113–118  ·  view source on GitHub ↗
({ accessToken, repoName, limit })

Source from the content-addressed store, hash-verified

111}
112
113function getCommits({ accessToken, repoName, limit }) {
114 const github = getAPI({ accessToken });
115 const [owner, repo] = repoName.split('/');
116
117 return github.repos.listCommits({ owner, repo, per_page: limit });
118}
119
120exports.setupGithub = setupGithub;
121exports.getRepos = getRepos;

Callers 2

syncAllChaptersFunction · 0.50
syncAllChaptersMethod · 0.50

Calls 1

getAPIFunction · 0.70

Tested by

no test coverage detected