--watch
This commit is contained in:
14
vendor/github.com/andreaskoch/go-fswatch/util.go
generated
vendored
Normal file
14
vendor/github.com/andreaskoch/go-fswatch/util.go
generated
vendored
Normal file
@@ -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