MCPcopy
hub / github.com/iterative/cml / user

Method user

src/drivers/github.js:102–107  ·  view source on GitHub ↗
({ name: username } = {})

Source from the content-addressed store, hash-verified

100 }
101
102 async user({ name: username } = {}) {
103 const { users } = octokit(this.token, this.repo);
104 const { data: user } = await users.getByUsername({ username });
105
106 return user;
107 }
108
109 async commitCommentCreate(opts = {}) {
110 const { report: body, commitSha } = opts;

Callers 1

userIdFunction · 0.80

Calls 1

octokitFunction · 0.85

Tested by

no test coverage detected