#include <profiles.hh>
Public Attributes | |
GenerationNumber | number |
Path | path |
time_t | creationTime |
A generation is a revision of a profile.
Each generation is a mapping (key-value pair) from an identifier (number
) to a store object (specified by path
).
time_t nix::Generation::creationTime |
When the generation was created. This is extra metadata about the generation used to make garbage collecting old generations more convenient.
GenerationNumber nix::Generation::number |
The number of a generation is its unique identifier within the profile.
Path nix::Generation::path |
The store path identifies the store object that is the contents of the generation.
These store paths / objects are not unique to the generation within a profile. Nix tries to ensure successive generations have distinct contents to avoid bloat, but nothing stops two non-adjacent generations from having the same contents.