This commit is contained in:
Sebastiaan van Stijn 2025-07-31 19:00:24 +02:00 committed by GitHub
commit e7e34b7870
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 8 deletions

View File

@ -17,15 +17,11 @@
package watch
import (
"errors"
"expvar"
"fmt"
"os"
"path/filepath"
"runtime"
"strconv"
"github.com/tilt-dev/fsnotify"
)
var numberOfWatches = expvar.NewInt("watch.naive.numberOfWatches")
@ -103,10 +99,6 @@ func DesiredWindowsBufferSize() int {
return defaultBufferSize
}
func IsWindowsShortReadError(err error) bool {
return runtime.GOOS == "windows" && !errors.Is(err, fsnotify.ErrEventOverflow)
}
type CompositePathMatcher struct {
Matchers []PathMatcher
}