5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-29 10:25:39 +00:00
matterbridge/vendor/github.com/labstack/echo/v4/middleware/static_other.go

16 lines
318 B
Go
Raw Normal View History

// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2015 LabStack LLC and Echo contributors
//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)
}