MCPcopy Create free account
hub / github.com/gogs/gogs / PullRequestMeta

Method PullRequestMeta

internal/gitutil/module.go:28–28  ·  view source on GitHub ↗

PullRequestMeta gathers pull request metadata based on given head and base information.

(headPath, basePath, headBranch, baseBranch string)

Source from the content-addressed store, hash-verified

26 // PullRequestMeta gathers pull request metadata based on given head and base
27 // information.
28 PullRequestMeta(headPath, basePath, headBranch, baseBranch string) (*PullRequestMeta, error)
29 // ListTagsAfter returns a list of tags "after" (exclusive) given tag.
30 ListTagsAfter(repoPath, after string, limit int) (*TagsPage, error)
31}

Callers 3

PrepareViewPullInfoFunction · 0.65
ParseCompareInfoFunction · 0.65

Implementers 2

MockModuleStoreinternal/gitutil/mocks.go
moduleinternal/gitutil/module.go

Calls

no outgoing calls

Tested by 1