Fix Lint warnings: Missing comments for functions
* Added comments wherever missing for exported functions/constants Change-Id: I7d0b79b5f56fc6c3edb60a3b58c0962ebd76314c Relates-To: #148
This commit is contained in:
committed by
Alexander Hughes
parent
98f14aaa93
commit
8d16fffb7c
@@ -31,11 +31,15 @@ import (
|
||||
"opendev.org/airship/airshipctl/pkg/util"
|
||||
)
|
||||
|
||||
//TODO(sy495p): Switch to strongly-typed errors in this file
|
||||
|
||||
// variables for repository errors
|
||||
var (
|
||||
ErrNoOpenRepo = errors.New("no open repository is stored")
|
||||
ErrCantParseURL = errors.New("could not get target directory from url")
|
||||
)
|
||||
|
||||
// OptionsBuilder interface provides specification for a repository implementation
|
||||
type OptionsBuilder interface {
|
||||
ToAuth() (transport.AuthMethod, error)
|
||||
ToCloneOptions(auth transport.AuthMethod) *git.CloneOptions
|
||||
|
||||
Reference in New Issue
Block a user