MCPcopy
hub / github.com/gogs/gogs / MergeBase

Method MergeBase

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

MergeBase returns merge base between base and head revisions of the repository in given path.

(repoPath, base, head string, opts ...git.MergeBaseOptions)

Source from the content-addressed store, hash-verified

18 // MergeBase returns merge base between base and head revisions of the
19 // repository in given path.
20 MergeBase(repoPath, base, head string, opts ...git.MergeBaseOptions) (string, error)
21 // RemoteRemove removes a remote from the repository in given path.
22 RemoteRemove(repoPath, name string, opts ...git.RemoteRemoveOptions) error
23 // RepoTags returns a list of tags of the repository in given path.

Callers 3

UpdatePatchMethod · 0.65
PullRequestMetaMethod · 0.65
MergeBaseMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected