Updated remote.go to add a comment for the public API

This commit is contained in:
Byoungchan Lee 2021-02-03 23:33:11 +09:00
parent 96aacc1f1d
commit 863c15bbc1
1 changed files with 1 additions and 0 deletions

View File

@ -556,6 +556,7 @@ func (c *RemoteCollection) Create(name string, url string) (*Remote, error) {
return remote, nil return remote, nil
} }
//CreateWithOptions Creates a repository object with extended options.
func (c *RemoteCollection) CreateWithOptions(url string, option *RemoteCreateOptions) (*Remote, error) { func (c *RemoteCollection) CreateWithOptions(url string, option *RemoteCreateOptions) (*Remote, error) {
remote := &Remote{repo: c.repo} remote := &Remote{repo: c.repo}