2015-06-22 19:11:07 +02:00
|
|
|
####################################################################################################################################
|
|
|
|
# VERSION MODULE
|
|
|
|
#
|
|
|
|
# Contains BackRest version and format numbers.
|
|
|
|
####################################################################################################################################
|
|
|
|
package BackRest::Version;
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings FATAL => qw(all);
|
|
|
|
|
|
|
|
use Exporter qw(import);
|
2015-08-29 20:20:46 +02:00
|
|
|
our @EXPORT = qw();
|
2015-06-22 19:11:07 +02:00
|
|
|
|
|
|
|
# BackRest Version Number
|
|
|
|
#
|
|
|
|
# Defines the current version of the BackRest executable. The version number is used to track features but does not affect what
|
|
|
|
# repositories or manifests can be read - that's the job of the format number.
|
|
|
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
our # 'our' keyword is on a separate line to make the ExtUtils::MakeMaker parser happy.
|
2015-10-08 18:44:55 +02:00
|
|
|
$VERSION = '0.87';
|
2015-06-22 19:11:07 +02:00
|
|
|
|
2015-08-29 20:20:46 +02:00
|
|
|
push @EXPORT, qw($VERSION);
|
2015-06-22 19:11:07 +02:00
|
|
|
|
|
|
|
# Format Format Number
|
|
|
|
#
|
|
|
|
# Defines format for info and manifest files as well as on-disk structure. If this number changes then the repository will be
|
|
|
|
# invalid unless migration functions are written.
|
|
|
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
our $FORMAT = 4;
|
|
|
|
|
|
|
|
push @EXPORT, qw($FORMAT);
|
|
|
|
|
|
|
|
1;
|