Cupt::System::Snapshots.3pm

Langue: en

Version: 2010-06-14 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Cupt::System::Snapshots - 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