vendor: check in vendors

Bye bye glide...
This commit is contained in:
Unknwon
2017-02-09 19:48:13 -05:00
parent eb66060cd7
commit 2fd69f13d9
928 changed files with 632282 additions and 225 deletions

13
vendor/github.com/gogits/git-module/repo_hook.go generated vendored Normal file
View File

@@ -0,0 +1,13 @@
// Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package git
func (repo *Repository) GetHook(name string) (*Hook, error) {
return GetHook(repo.Path, name)
}
func (repo *Repository) Hooks() ([]*Hook, error) {
return ListHooks(repo.Path)
}