MCPcopy
hub / github.com/gogs/gogs / RemoteRemove

Method RemoteRemove

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

RemoteRemove removes a remote from the repository in given path.

(repoPath, name string, opts ...git.RemoteRemoveOptions)

Source from the content-addressed store, hash-verified

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.
24 RepoTags(repoPath string, opts ...git.TagsOptions) ([]string, error)
25

Callers 5

SaveAddressMethod · 0.65
UpdatePatchMethod · 0.65
PushToBaseRepoMethod · 0.65
PullRequestMetaMethod · 0.65
RemoteRemoveMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected