mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
14 lines
180 B
Go
14 lines
180 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)
|
|
}
|