aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgFileOpera.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-01-26 18:17:20 +0000
committersaturneric <[email protected]>2025-01-26 18:18:10 +0000
commit92e1ed7b3fd5360278d41db087518b6c5af80b3e (patch)
tree577edfa58889d97a0b3ec1f2c045b9d6fe9cff70 /src/core/function/gpg/GpgFileOpera.cpp
parentfix: 'std::future' is defined in header '<future>' (diff)
downloadGpgFrontend-92e1ed7b3fd5360278d41db087518b6c5af80b3e.tar.gz
GpgFrontend-92e1ed7b3fd5360278d41db087518b6c5af80b3e.zip
feat: allow file batch operations
Diffstat (limited to 'src/core/function/gpg/GpgFileOpera.cpp')
-rw-r--r--src/core/function/gpg/GpgFileOpera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/gpg/GpgFileOpera.cpp b/src/core/function/gpg/GpgFileOpera.cpp
index 9dea413d..0a321b14 100644
--- a/src/core/function/gpg/GpgFileOpera.cpp
+++ b/src/core/function/gpg/GpgFileOpera.cpp
@@ -521,7 +521,7 @@ auto GpgFileOpera::EncryptFileSymmetricSync(const QString& in_path, bool ascii,
"gpgme_op_encrypt_symmetric", "2.1.0");
}
-void GpgFileOpera::EncryptDerectorySymmetric(const QString& in_path, bool ascii,
+void GpgFileOpera::EncryptDirectorySymmetric(const QString& in_path, bool ascii,
const QString& out_path,
const GpgOperationCallback& cb) {
auto ex = std::make_shared<GFDataExchanger>(kDataExchangerSize);
@@ -548,7 +548,7 @@ void GpgFileOpera::EncryptDerectorySymmetric(const QString& in_path, bool ascii,
});
}
-auto GpgFileOpera::EncryptDerectorySymmetricSync(
+auto GpgFileOpera::EncryptDirectorySymmetricSync(
const QString& in_path, bool ascii,
const QString& out_path) -> std::tuple<GpgError, DataObjectPtr> {
auto ex = std::make_shared<GFDataExchanger>(kDataExchangerSize);