aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogits/git-module/repo_hook.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gogits/git-module/repo_hook.go')
-rw-r--r--vendor/github.com/gogits/git-module/repo_hook.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/github.com/gogits/git-module/repo_hook.go b/vendor/github.com/gogits/git-module/repo_hook.go
deleted file mode 100644
index 7b49647e..00000000
--- a/vendor/github.com/gogits/git-module/repo_hook.go
+++ /dev/null
@@ -1,13 +0,0 @@
-// 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)
-}