80da2dc722
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
18 lines
239 B
Go
18 lines
239 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package vfs
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func isCrossDeviceError(err error) bool {
|
|
return errors.Is(err, unix.EXDEV)
|
|
}
|
|
|
|
func isInvalidNameError(err error) bool {
|
|
return false
|
|
}
|