---
name: "Cupt::System::Snapshots"
section: "3pm"
platform: "linux"
package: "libcupt-perl"
version: "1.5.14.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Cupt::System::Snapshots"
---

# Cupt::System::Snapshots(3pm)

hold info about available system snapshots

## 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
