mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +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)
|
|
}
|