blob: 0337b22af6a7185b2e56863f9cabf3ce30c856cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
//go:build !windows
package middleware
import (
"os"
)
// We ignore these errors as there could be handler that matches request path.
func isIgnorableOpenFileError(err error) bool {
return os.IsNotExist(err)
}
|