There was an error while loading. Please reload this page.
1 parent 8860947 commit 1cbd0a9Copy full SHA for 1cbd0a9
src/GitFollow/Metadata.pm
@@ -0,0 +1,36 @@
1
+###
2
+### git-follow - Follow lifetime changes of a pathspec in Git.
3
4
+### Copyright (C) 2023 Nickolas Burr <nickolasburr@gmail.com>
5
6
+package GitFollow::Metadata;
7
+
8
+use 5.008;
9
+use strict;
10
+use warnings;
11
+use Exporter qw(import);
12
13
+our @EXPORT = qw(
14
+get_version
15
+print_version
16
+$GIT_FOLLOW_VERSION
17
+);
18
19
+# Current release version.
20
+our $GIT_FOLLOW_VERSION = "1.1.5";
21
22
+sub get_version;
23
+sub print_version;
24
25
+# Get current release version.
26
+sub get_version {
27
+return $GIT_FOLLOW_VERSION;
28
+}
29
30
+# Print current release version.
31
+sub print_version {
32
+print "$GIT_FOLLOW_VERSION\n";
33
+exit 0;
34
35
36
+1;
0 commit comments