various snapshot-related routines
More...
#include <cupt/system/snapshots.hpp>
various snapshot-related routines
| cupt::system::Snapshots::Snapshots |
( |
const shared_ptr< Config > & |
config | ) |
|
| string cupt::system::Snapshots::getSnapshotDirectory |
( |
const string & |
snapshotName | ) |
const |
- Parameters
-
- Returns
- full path to directory containing snapshot with the name snapshotName
| string cupt::system::Snapshots::getSnapshotsDirectory |
( |
| ) |
const |
- Returns
- full path to directory containing snapshots
| 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
-
| 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: