MCPcopy
hub / github.com/gogs/gogs / RemoteAdd

Method RemoteAdd

internal/gitutil/module.go:36–38  ·  view source on GitHub ↗
(repoPath, name, url string, opts ...git.RemoteAddOptions)

Source from the content-addressed store, hash-verified

34type module struct{}
35
36func (module) RemoteAdd(repoPath, name, url string, opts ...git.RemoteAddOptions) error {
37 return git.RemoteAdd(repoPath, name, url, opts...)
38}
39
40func (module) DiffNameOnly(repoPath, base, head string, opts ...git.DiffNameOnlyOptions) ([]string, error) {
41 return git.DiffNameOnly(repoPath, base, head, opts...)

Callers

nothing calls this directly

Calls 1

RemoteAddMethod · 0.65

Tested by

no test coverage detected