mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-18 05:43:42 +00:00
--watch
This commit is contained in:
1 parent
de62a2eece
commit
3198627879
19 files changed
+1077
-19
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
// Copyright 2013 Andreas Koch. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package fswatch
|
||||
|
||||
func sliceContainsElement(list []string, elem string) bool {
|
||||
for _, t := range list {
|
||||
if t == elem {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in new issue
Block a user