mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 17:10:28 +00:00
7344366ce8
The underlying issue was fixed in pkg/sftp 1.13.2
13 lines
160 B
Go
13 lines
160 B
Go
// +build !windows
|
|
|
|
package vfs
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func isCrossDeviceError(err error) bool {
|
|
return errors.Is(err, unix.EXDEV)
|
|
}
|