Cupt::System::Snapshots(3) hold info about available system snapshots

METHODS

new

creates Cupt::System::Snapshots object

Parameters:

config - Cupt::Config

get_snapshots_directory

method, returns directory path which contains all available snapshots

get_snapshot_directory

method, returns directory which contains named snapshot

Parameters:

name - name of the snapshot

get_snapshot_names

method, returns list of names of available snapshots

setup_config_for_snapshot

method, modifies config to load only snapshot versions of packages

Parameters:

name - name of the snapshot

setup_config_for_snapshot

method, schedules snapshot versions of packages to resolver

Parameters:

name - name of the snapshot

resolver - Cupt::System::Resolver