You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
175 B
Go
15 lines
175 B
Go
2 years ago
|
//go:build !windows
|
||
|
// +build !windows
|
||
|
|
||
|
package fsutil
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
|
||
|
"github.com/pkg/errors"
|
||
|
)
|
||
|
|
||
|
func isNotFound(err error) bool {
|
||
|
return errors.Is(err, os.ErrNotExist)
|
||
|
}
|