summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-23 15:30:04 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-23 15:30:04 -0400
commit5bbeeb0f1b5cecb67e1527410a45fb65df0096d1 (patch)
tree7c135abd7c84f4e1743ad621265fbaee25bf5f99 /models/repo.go
parent93ee0838eb317ce729391fbfafa0595f561e3f65 (diff)
downloadgitea-5bbeeb0f1b5cecb67e1527410a45fb65df0096d1.tar.gz
gitea-5bbeeb0f1b5cecb67e1527410a45fb65df0096d1.zip
Page: Commits and fix #249
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go
index ccfaae2ca2..c0a581b9a2 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -1081,6 +1081,13 @@ func SearchRepositoryByName(opt SearchOption) (repos []*Repository, err error) {
return repos, err
}
+// __ __ __ .__
+// / \ / \_____ _/ |_ ____ | |__
+// \ \/\/ /\__ \\ __\/ ___\| | \
+// \ / / __ \| | \ \___| Y \
+// \__/\ / (____ /__| \___ >___| /
+// \/ \/ \/ \/
+
// Watch is connection request for receiving repository notifycation.
type Watch struct {
Id int64
@@ -1151,6 +1158,13 @@ func NotifyWatchers(act *Action) error {
return nil
}
+// _________ __
+// / _____// |______ _______
+// \_____ \\ __\__ \\_ __ \
+// / \| | / __ \| | \/
+// /_______ /|__| (____ /__|
+// \/ \/
+
type Star struct {
Id int64
Uid int64 `xorm:"UNIQUE(s)"`