Updated remote.go to add a comment for the public API
This commit is contained in:
parent
96aacc1f1d
commit
863c15bbc1
|
@ -556,6 +556,7 @@ func (c *RemoteCollection) Create(name string, url string) (*Remote, error) {
|
|||
return remote, nil
|
||||
}
|
||||
|
||||
//CreateWithOptions Creates a repository object with extended options.
|
||||
func (c *RemoteCollection) CreateWithOptions(url string, option *RemoteCreateOptions) (*Remote, error) {
|
||||
remote := &Remote{repo: c.repo}
|
||||
|
||||
|
|
Loading…
Reference in New Issue