/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
cmd/mountlib/check_other.go
18 строк
527 B
albertony
build: remove build constraint syntax for go 1.16 and older
18 апр 2024, 17:53
18 апр 2024, 17:53
68bf6aa
Код
Авторство
О чём код?
//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 { return checkMountEmpty(mountpoint) } // 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 } // CanCheckMountReady is set if CheckMountReady is functional var CanCheckMountReady = false