From 5fdd3fe02d8ab2fd0c6e4ab1476524a5c5364f37 Mon Sep 17 00:00:00 2001 From: Jan Kolarik Date: Wed, 20 Sep 2023 12:38:28 +0000 Subject: [PATCH] transaction: Update API doc related to keepcache --- include/libdnf5/base/transaction.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libdnf5/base/transaction.hpp b/include/libdnf5/base/transaction.hpp index a2036ba8b..2640a10a1 100644 --- a/include/libdnf5/base/transaction.hpp +++ b/include/libdnf5/base/transaction.hpp @@ -124,6 +124,10 @@ class Transaction { /// To watch progress or trigger actions during specific transactions events, /// setup the `callbacks` object. /// + /// After a successful transaction, any temporarily downloaded packages are removed + /// if the 'keepcache' option is set to 'false' and the transaction involved an inbound action. + /// Otherwise, the packages are preserved on the disk. + /// /// @return An enum describing the result of running the transaction. TransactionRunResult run();