act/vendor/github.com/andreaskoch/go-fswatch/util.go
Jesse Newland 3198627879 --watch
2019-02-09 20:39:09 -06:00

14 lines
317 B
Go

// 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
}