line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Git::Raw::Stash::Progress; |
2
|
|
|
|
|
|
|
$Git::Raw::Stash::Progress::VERSION = '0.90'; |
3
|
36
|
|
|
44
|
|
227
|
use strict; |
|
36
|
|
|
|
|
64
|
|
|
36
|
|
|
|
|
927
|
|
4
|
36
|
|
|
44
|
|
162
|
use warnings; |
|
36
|
|
|
|
|
63
|
|
|
36
|
|
|
|
|
722
|
|
5
|
36
|
|
|
36
|
|
167
|
use Carp; |
|
36
|
|
|
|
|
82
|
|
|
36
|
|
|
|
|
5252
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub AUTOLOAD { |
8
|
|
|
|
|
|
|
# This AUTOLOAD is used to 'autoload' constants from the constant() |
9
|
|
|
|
|
|
|
# XS function. |
10
|
|
|
|
|
|
|
|
11
|
8
|
|
|
8
|
|
107
|
my $constname; |
12
|
8
|
|
|
|
|
9
|
our $AUTOLOAD; |
13
|
8
|
|
|
|
|
49
|
($constname = $AUTOLOAD) =~ s/.*:://; |
14
|
8
|
50
|
|
|
|
25
|
croak "&Git::Raw::Stash::Progress::constant not defined" if $constname eq '_constant'; |
15
|
8
|
|
|
|
|
79
|
my ($error, $val) = _constant($constname); |
16
|
8
|
50
|
|
|
|
21
|
if ($error) { croak $error; } |
|
0
|
|
|
|
|
0
|
|
17
|
|
|
|
|
|
|
{ |
18
|
36
|
|
|
36
|
|
270
|
no strict 'refs'; |
|
36
|
|
|
|
|
66
|
|
|
36
|
|
|
|
|
2894
|
|
|
8
|
|
|
|
|
12
|
|
19
|
8
|
|
|
8
|
|
49
|
*$AUTOLOAD = sub { $val }; |
|
8
|
|
|
|
|
33
|
|
20
|
|
|
|
|
|
|
} |
21
|
8
|
|
|
|
|
32
|
goto &$AUTOLOAD; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
36
|
|
|
36
|
|
224
|
use Git::Raw; |
|
36
|
|
|
|
|
93
|
|
|
36
|
|
|
|
|
1301
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Git::Raw::Stash::Progress - Git stash progress |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 0.90 |
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 |