MCPcopy
hub / github.com/peter-evans/create-pull-request / parseRepository

Method parseRepository

src/github-helper.ts:65–71  ·  view source on GitHub ↗
(repository: string)

Source from the content-addressed store, hash-verified

63 }
64
65 private parseRepository(repository: string): Repository {
66 const [owner, repo] = repository.split('/')
67 return {
68 owner: owner,
69 repo: repo
70 }
71 }
72
73 private async getPullNumber(
74 baseRepository: string,

Callers 7

getPullNumberMethod · 0.95
createOrUpdateMethod · 0.95
getRepositoryParentMethod · 0.95
createCommitMethod · 0.95
getCommitMethod · 0.95
createOrUpdateRefMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected