Remove unused consts/vars (#3270)

release/v1.15
Ethan Koenig 2017-12-30 20:10:48 -05:00 committed by Lunny Xiao
parent 3d3faa2624
commit 3850bad4c0
1 changed files with 0 additions and 13 deletions

View File

@ -37,25 +37,12 @@ import (
"gopkg.in/ini.v1"
)
const (
tplUpdateHook = "#!/usr/bin/env %s\n%s update $1 $2 $3 --config='%s'\n"
)
var repoWorkingPool = sync.NewExclusivePool()
var (
// ErrRepoFileNotExist repository file does not exist error
ErrRepoFileNotExist = errors.New("Repository file does not exist")
// ErrRepoFileNotLoaded repository file not loaded error
ErrRepoFileNotLoaded = errors.New("Repository file not loaded")
// ErrMirrorNotExist mirror does not exist error
ErrMirrorNotExist = errors.New("Mirror does not exist")
// ErrInvalidReference invalid reference specified error
ErrInvalidReference = errors.New("Invalid reference specified")
// ErrNameEmpty name is empty error
ErrNameEmpty = errors.New("Name is empty")
)