mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 01:34:27 +00:00 
			
		
		
		
	Remove unused consts/vars (#3270)
This commit is contained in:
		@@ -37,25 +37,12 @@ import (
 | 
				
			|||||||
	"gopkg.in/ini.v1"
 | 
						"gopkg.in/ini.v1"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const (
 | 
					 | 
				
			||||||
	tplUpdateHook = "#!/usr/bin/env %s\n%s update $1 $2 $3 --config='%s'\n"
 | 
					 | 
				
			||||||
)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
var repoWorkingPool = sync.NewExclusivePool()
 | 
					var repoWorkingPool = sync.NewExclusivePool()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var (
 | 
					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 mirror does not exist error
 | 
				
			||||||
	ErrMirrorNotExist = errors.New("Mirror does not exist")
 | 
						ErrMirrorNotExist = errors.New("Mirror does not exist")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// ErrInvalidReference invalid reference specified error
 | 
					 | 
				
			||||||
	ErrInvalidReference = errors.New("Invalid reference specified")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	// ErrNameEmpty name is empty error
 | 
						// ErrNameEmpty name is empty error
 | 
				
			||||||
	ErrNameEmpty = errors.New("Name is empty")
 | 
						ErrNameEmpty = errors.New("Name is empty")
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user