file-vault icon indicating copy to clipboard operation
file-vault copied to clipboard

Fix #10 streamDecrypt ignoring custom S3 disk

Open greimers opened this issue 4 years ago • 0 comments

This fixes the hardcoded S3 disk name. Before, if you had a custom S3 disk with a name different than "s3", the isS3File function would always return false resulting in errors.

This PR changes the isS3File function to check the class type of the adapter instead of the disk name. This also removes a caching step in order to make sure the adapter is always set correctly.

Closes #10

greimers avatar Feb 25 '21 21:02 greimers