2021-07-24 15:27:48 +02:00
|
|
|
//go:build !linux
|
|
|
|
|
|
|
|
package mountlib
|
|
|
|
|
|
|
|
// CheckMountEmpty checks if mountpoint folder is empty.
|
|
|
|
// On non-Linux unixes we list directory to ensure that.
|
|
|
|
func CheckMountEmpty(mountpoint string) error {
|
2023-01-19 16:54:10 +01:00
|
|
|
return checkMountEmpty(mountpoint)
|
2021-07-24 15:27:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// CheckMountReady should check if mountpoint is mounted by rclone.
|
|
|
|
// The check is implemented only for Linux so this does nothing.
|
|
|
|
func CheckMountReady(mountpoint string) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-11-29 16:11:11 +01:00
|
|
|
// CanCheckMountReady is set if CheckMountReady is functional
|
|
|
|
var CanCheckMountReady = false
|