/*
* Copyright (c) [2011-2015] Novell, Inc.
- * Copyright (c) [2016-2024] SUSE LLC
+ * Copyright (c) [2016-2025] SUSE LLC
*
* All Rights Reserved.
*
Snapper::Snapper(const string& config_name, const string& root_prefix, bool disable_filters)
- : snapshots(this)
+ : config_name(config_name), root_prefix(root_prefix), snapshots(this)
{
- y2mil("Snapper constructor");
+ y2mil("Snapper constructor '" << config_name << "'");
y2mil("snapper version " VERSION);
y2mil("libsnapper version " LIBSNAPPER_VERSION_STRING);
- y2mil("config_name:" << config_name << " root_prefix:" << root_prefix <<
- " disable_filters:" << disable_filters);
+ y2mil("root-prefix:" << root_prefix << " disable-filters:" << disable_filters);
try
{
Snapper::~Snapper()
{
- y2mil("Snapper destructor");
+ y2mil("Snapper destructor '" << config_name << "'");
for (Snapshots::iterator it = snapshots.begin(); it != snapshots.end(); ++it)
{
/*
* Copyright (c) [2011-2015] Novell, Inc.
- * Copyright (c) [2016-2023] SUSE LLC
+ * Copyright (c) [2016-2025] SUSE LLC
*
* All Rights Reserved.
*
void syncInfoDir(SDir& dir) const;
- // const std::string root_prefix; // TODO ABI change
+ const std::string config_name;
+ const std::string root_prefix;
ConfigInfo* config_info = nullptr;