line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Git::Raw::Stash::Progress; |
2
|
|
|
|
|
|
|
$Git::Raw::Stash::Progress::VERSION = '0.86'; |
3
|
35
|
|
|
43
|
|
230
|
use strict; |
|
35
|
|
|
|
|
70
|
|
|
35
|
|
|
|
|
964
|
|
4
|
35
|
|
|
43
|
|
170
|
use warnings; |
|
35
|
|
|
|
|
67
|
|
|
35
|
|
|
|
|
804
|
|
5
|
35
|
|
|
35
|
|
180
|
use Carp; |
|
35
|
|
|
|
|
69
|
|
|
35
|
|
|
|
|
5354
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub AUTOLOAD { |
8
|
|
|
|
|
|
|
# This AUTOLOAD is used to 'autoload' constants from the constant() |
9
|
|
|
|
|
|
|
# XS function. |
10
|
|
|
|
|
|
|
|
11
|
8
|
|
|
8
|
|
104
|
my $constname; |
12
|
8
|
|
|
|
|
11
|
our $AUTOLOAD; |
13
|
8
|
|
|
|
|
52
|
($constname = $AUTOLOAD) =~ s/.*:://; |
14
|
8
|
50
|
|
|
|
27
|
croak "&Git::Raw::Stash::Progress::constant not defined" if $constname eq '_constant'; |
15
|
8
|
|
|
|
|
67
|
my ($error, $val) = _constant($constname); |
16
|
8
|
50
|
|
|
|
20
|
if ($error) { croak $error; } |
|
0
|
|
|
|
|
0
|
|
17
|
|
|
|
|
|
|
{ |
18
|
35
|
|
|
35
|
|
306
|
no strict 'refs'; |
|
35
|
|
|
|
|
76
|
|
|
35
|
|
|
|
|
2870
|
|
|
8
|
|
|
|
|
10
|
|
19
|
8
|
|
|
8
|
|
52
|
*$AUTOLOAD = sub { $val }; |
|
8
|
|
|
|
|
32
|
|
20
|
|
|
|
|
|
|
} |
21
|
8
|
|
|
|
|
30
|
goto &$AUTOLOAD; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
35
|
|
|
35
|
|
236
|
use Git::Raw; |
|
35
|
|
|
|
|
85
|
|
|
35
|
|
|
|
|
1306
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Git::Raw::Stash::Progress - Git stash progress |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 0.86 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
L provides a namespace for stash progress constants. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
B: The API of this module is unstable and may change without warning |
39
|
|
|
|
|
|
|
(any change will be appropriately documented in the changelog). |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 CONSTANTS |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 NONE |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
None. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 LOADING_STASH |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Stashed data is being loaded from the object database. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 ANALYZE_INDEX |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The stored index is being analyzed. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 ANALYZE_MODIFIED |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
The modified files are being analyzed. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 ANALYZE_UNTRACKED |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The untracked and ignored files are being analyzed. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 CHECKOUT_UNTRACKED |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
The untracked files are being written to disk. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 CHECKOUT_MODIFIED |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
The modified files are being written to disk. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 DONE |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The stash was successfully applied. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 AUTHOR |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Jacques Germishuys |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Copyright 2016 Jacques Germishuys. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
84
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
85
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=cut |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
1; # End of Git::Raw::Stash::Progress |