pki/vendor/github.com/labstack/echo/v4/middleware/static_other.go
Paul Lecuq 60cc3f4073
All checks were successful
continuous-integration/drone/push Build is passing
updated dependencies
2023-03-17 13:20:20 +01:00

13 lines
215 B
Go

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