Initial release of bdrclone
This commit is contained in:
14
internal/mount/mount_unsupported.go
Normal file
14
internal/mount/mount_unsupported.go
Normal file
@@ -0,0 +1,14 @@
|
||||
//go:build !linux && !(darwin && cgo && cmount)
|
||||
|
||||
package mount
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
|
||||
"gitea.dddbg.com/youbin/bdrclone/internal/baidu"
|
||||
)
|
||||
|
||||
func Mount(context.Context, *baidu.Client, string, Options) error {
|
||||
return errors.New("this build has no mount backend; on macOS install macFUSE and rebuild with `go build -tags cmount ./cmd/bdrclone`")
|
||||
}
|
||||
Reference in New Issue
Block a user