version property

int version

The configuration version number.

Currently this is 1 or 2, where

  • Version one is the .packages file format and
  • Version two is the first package_config.json format.

Instances of this class supports both, and the version is only useful for detecting which kind of file the configuration was read from.

Implementation

int get version;