various snapshot-related routines
More...
#include <cupt/system/snapshots.hpp>
various snapshot-related routines
◆ Snapshots()
cupt::system::Snapshots::Snapshots |
( |
const shared_ptr< Config > & |
config | ) |
|
◆ getSnapshotDirectory()
string cupt::system::Snapshots::getSnapshotDirectory |
( |
const string & |
snapshotName | ) |
const |
- Parameters
-
- Returns
- full path to directory containing snapshot with the name snapshotName
◆ getSnapshotsDirectory()
string cupt::system::Snapshots::getSnapshotsDirectory |
( |
| ) |
const |
- Returns
- full path to directory containing snapshots
◆ setupConfigForSnapshotOnly()
void cupt::system::Snapshots::setupConfigForSnapshotOnly |
( |
const string & |
snapshotName | ) |
|
Modifies config (passed in constructor) in the way that Cache built from it have access only to installed and snapshot versions of packages.
- Parameters
-
◆ setupResolverForSnapshotOnly()
void cupt::system::Snapshots::setupResolverForSnapshotOnly |
( |
const string & |
snapshotName, |
|
|
const Cache & |
cache, |
|
|
Resolver & |
resolver |
|
) |
| |
Schedules snapshot versions of packages to be installed.
- Parameters
-
snapshotName | |
cache | |
resolver | |
The documentation for this class was generated from the following file: