Skip to content

Commit

Permalink
Add transient config option
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-goode committed Nov 7, 2024
1 parent cd51f57 commit e3fbddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libdnf/conf/ConfigMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ class ConfigMain::Impl {
OptionString comment{nullptr};
OptionBool downloadonly{false}; // runtime only option
OptionBool ignorearch{false};
OptionBool transient{false}; // runtime only option
OptionString module_platform_id{nullptr};
OptionBool module_stream_switch{false};
OptionBool module_obsoletes{false};
Expand Down Expand Up @@ -613,6 +614,7 @@ OptionPath & ConfigMain::destdir() { return pImpl->destdir; }
OptionString & ConfigMain::comment() { return pImpl->comment; }
OptionBool & ConfigMain::downloadonly() { return pImpl->downloadonly; }
OptionBool & ConfigMain::ignorearch() { return pImpl->ignorearch; }
OptionBool & ConfigMain::transient() { return pImpl->transient; }

OptionString & ConfigMain::module_platform_id() { return pImpl->module_platform_id; }
OptionBool & ConfigMain::module_stream_switch() { return pImpl->module_stream_switch; }
Expand Down
1 change: 1 addition & 0 deletions libdnf/conf/ConfigMain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class ConfigMain : public Config {
OptionString & comment();
OptionBool & downloadonly();
OptionBool & ignorearch();
OptionBool & transient();

OptionString & module_platform_id();
OptionBool & module_stream_switch();
Expand Down

0 comments on commit e3fbddc

Please sign in to comment.