18 #ifndef CUPT_SYSTEM_WORKER_SEEN 19 #define CUPT_SYSTEM_WORKER_SEEN 26 #include <cupt/fwd.hpp> 42 internal::WorkerImpl* __impl;
62 static const char* rawStrings[Count];
83 Worker(
const shared_ptr< const Config >& config,
const shared_ptr< const Cache >& cache);
107 void setPackagePurgeFlag(
const string& packageName,
bool value);
114 shared_ptr< const ActionsPreview > getActionsPreview()
const;
120 map< string, ssize_t > getUnpackedSizesPreview()
const;
126 pair< size_t, size_t > getDownloadSizesPreview()
const;
134 void changeSystem(
const shared_ptr< download::Progress >& progress);
142 void updateReleaseAndIndexData(
const shared_ptr< download::Progress >& progress);
152 vector< pair< string, const BinaryVersion* > > getArchivesInfo()
const;
159 void deleteArchive(
const string& path);
163 void deletePartialArchives();
170 void saveSnapshot(
const Snapshots&,
const string& name);
178 const string& previousName,
const string& newName);
184 void removeSnapshot(
const Snapshots&,
const string& name);
various snapshot-related routines
Definition: snapshots.hpp:37
old version of the existing package is installed
Definition: worker.hpp:55
map< string, SuggestedPackage > SuggestedPackages
Definition: resolver.hpp:119
the existing package in intermediate state is configured (properly installed)
Definition: worker.hpp:56
action types
Definition: worker.hpp:48
remove and install the installed version
Definition: worker.hpp:59
Definition: binarypackage.hpp:26
the existing package is purged
Definition: worker.hpp:53
performs system modifications
Definition: worker.hpp:40
a new package is installed
Definition: worker.hpp:51
std::map< string, bool > autoFlagChanges
maps package name to target 'automatically installed' flag value
Definition: worker.hpp:75
the result of resolver's work
Definition: resolver.hpp:121
Type
Definition: worker.hpp:50
new version of the existing package is installed
Definition: worker.hpp:54
the existing package in intermediate state is removed
Definition: worker.hpp:57
triggers are processed for the existing package
Definition: worker.hpp:58
the existing package is removed
Definition: worker.hpp:52
Definition: worker.hpp:64