line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#============================================================= -*-perl-*- |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# File::RsyncP::FileList package |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# DESCRIPTION |
6
|
|
|
|
|
|
|
# File::RsyncP::FileList is a perl module that implements the |
7
|
|
|
|
|
|
|
# file list encoding and decoding used by rsync. |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# AUTHOR |
10
|
|
|
|
|
|
|
# Craig Barratt |
11
|
|
|
|
|
|
|
# |
12
|
|
|
|
|
|
|
# COPYRIGHT |
13
|
|
|
|
|
|
|
# File::RsyncP is Copyright (C) 2002-2015 Craig Barratt. |
14
|
|
|
|
|
|
|
# |
15
|
|
|
|
|
|
|
# Rsync is Copyright (C) 1996-2001 by Andrew Tridgell, 1996 by Paul |
16
|
|
|
|
|
|
|
# Mackerras, 2001-2002 by Martin Pool, and 2003-2009 by Wayne Davison, |
17
|
|
|
|
|
|
|
# and others. |
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify |
20
|
|
|
|
|
|
|
# it under the terms of the GNU General Public License as published by |
21
|
|
|
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or |
22
|
|
|
|
|
|
|
# (at your option) any later version. |
23
|
|
|
|
|
|
|
# |
24
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful, |
25
|
|
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
26
|
|
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
27
|
|
|
|
|
|
|
# GNU General Public License for more details. |
28
|
|
|
|
|
|
|
# |
29
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License |
30
|
|
|
|
|
|
|
# along with this program. If not, see . |
31
|
|
|
|
|
|
|
# |
32
|
|
|
|
|
|
|
#======================================================================== |
33
|
|
|
|
|
|
|
# |
34
|
|
|
|
|
|
|
# Version 0.74, released 17 Jan 2015. |
35
|
|
|
|
|
|
|
# |
36
|
|
|
|
|
|
|
# See http://perlrsync.sourceforge.net. |
37
|
|
|
|
|
|
|
# |
38
|
|
|
|
|
|
|
#======================================================================== |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
package File::RsyncP::FileList; |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
69
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
require Exporter; |
45
|
|
|
|
|
|
|
require DynaLoader; |
46
|
|
|
|
|
|
|
|
47
|
1
|
|
|
1
|
|
6
|
use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK @EXPORT $VERSION); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
181
|
|
48
|
|
|
|
|
|
|
@ISA = qw(Exporter AutoLoader DynaLoader); |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
# Items to export into callers namespace by default. Note: do not export |
51
|
|
|
|
|
|
|
# names by default without a very good reason. Use EXPORT_OK instead. |
52
|
|
|
|
|
|
|
# Do not simply export all your public functions/methods/constants. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
# This allows declaration use File::RsyncP::FileList ':all'; |
55
|
|
|
|
|
|
|
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK |
56
|
|
|
|
|
|
|
# will save memory. |
57
|
|
|
|
|
|
|
%EXPORT_TAGS = ( 'all' => [ qw( |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
) ] ); |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
@EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
@EXPORT = qw( |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
); |
66
|
|
|
|
|
|
|
$VERSION = '0.74'; |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
bootstrap File::RsyncP::FileList $VERSION; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
# Preloaded methods go here. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
1; |
73
|
|
|
|
|
|
|
__END__ |