Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

crypt: clarify that directory_name_encryption depends on filename_encryption

Nick Craig-Wood7a5a74cecb26
diff --git a/backend/crypt/crypt.go b/backend/crypt/crypt.go
index eabb2623e..a3bac32e9 100644
--- a/backend/crypt/crypt.go
+++ b/backend/crypt/crypt.go
@@ -47,8 +47,10 @@ func init() {
},
},
}, {
- Name: "directory_name_encryption",
- Help: "Option to either encrypt directory names or leave them intact.",
+ Name: "directory_name_encryption",
+ Help: `Option to either encrypt directory names or leave them intact.
+
+NB If filename_encryption is "off" then this option will do nothing.`,
Default: true,
Examples: []fs.OptionExample{
{