aboutsummaryrefslogtreecommitdiffstats
path: root/cache/filter.go
diff options
context:
space:
mode:
authorSladyn <gunnerforlife00@gmail.com>2019-03-03 10:38:33 +0530
committerGitHub <noreply@github.com>2019-03-03 10:38:33 +0530
commit6fee8a44429339ba59004fc7506571b8876eae4a (patch)
tree29dbbe9b046f34779db865f276cb20735e11ec01 /cache/filter.go
parentf1d5ca4ff4e8f20f21e2cdc65fe854d6f9c16fee (diff)
downloadgit-bug-6fee8a44429339ba59004fc7506571b8876eae4a.tar.gz
Commit to chane the description of function
Diffstat (limited to 'cache/filter.go')
-rw-r--r--cache/filter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/filter.go b/cache/filter.go
index a5aca8fb..fe6d200a 100644
--- a/cache/filter.go
+++ b/cache/filter.go
@@ -55,7 +55,7 @@ func LabelFilter(label string) Filter {
}
}
-// TitleFilter return a Filter that match a title
+// TitleFilter return a Filter that match if the title contains the given pattern
func TitleFilter(title string) Filter {
return func(repo *RepoCache, excerpt *BugExcerpt) bool {
return strings.Contains(excerpt.Title, title)