From f646cd0a2a468a5fa90af055b5d53a27769ba0ee Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 27 May 2021 18:23:38 +0100 Subject: [PATCH] librclone: add missing sync/* rc methods See: https://forum.rclone.org/t/missing-directory-copy-move-methods-in-librclone/24503 --- librclone/librclone.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/librclone/librclone.go b/librclone/librclone.go index c4efc84cd..0ad94d301 100644 --- a/librclone/librclone.go +++ b/librclone/librclone.go @@ -30,8 +30,10 @@ import "C" import ( "github.com/rclone/rclone/librclone/librclone" - _ "github.com/rclone/rclone/backend/all" // import all backends - _ "github.com/rclone/rclone/lib/plugin" // import plugins + _ "github.com/rclone/rclone/backend/all" // import all backends + _ "github.com/rclone/rclone/fs/operations" // import operations/* rc commands + _ "github.com/rclone/rclone/fs/sync" // import sync/* + _ "github.com/rclone/rclone/lib/plugin" // import plugins ) // RcloneInitialize initializes rclone as a library