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

Method projectPath

src/drivers/gitlab.js:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 async projectPath() {
33 const repoBase = await this.repoBase();
34 const projectPath = encodeURIComponent(
35 this.repo.replace(repoBase, '').substr(1)
36 );
37
38 return projectPath;
39 }
40
41 async repoBase() {
42 if (this.detectedBase) return this.detectedBase;

Callers 14

commitCommentCreateMethod · 0.95
commitCommentsMethod · 0.95
commitPrsMethod · 0.95
uploadMethod · 0.95
runnerTokenMethod · 0.95
prCreateMethod · 0.95
prAutoMergeMethod · 0.95
issueCommentUpsertMethod · 0.95
issueCommentsMethod · 0.95
prCommentCreateMethod · 0.95
prCommentUpdateMethod · 0.95
prCommentsMethod · 0.95

Calls 1

repoBaseMethod · 0.95

Tested by

no test coverage detected