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 2 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, write to the Free Software |
31
|
|
|
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
32
|
|
|
|
|
|
|
# |
33
|
|
|
|
|
|
|
#======================================================================== |
34
|
|
|
|
|
|
|
# |
35
|
|
|
|
|
|
|
# Version 0.72, released 11 Jan 2015. |
36
|
|
|
|
|
|
|
# |
37
|
|
|
|
|
|
|
# See http://perlrsync.sourceforge.net. |
38
|
|
|
|
|
|
|
# |
39
|
|
|
|
|
|
|
#======================================================================== |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
package File::RsyncP::FileList; |
42
|
|
|
|
|
|
|
|
43
|
1
|
|
|
1
|
|
8
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
63
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
require Exporter; |
46
|
|
|
|
|
|
|
require DynaLoader; |
47
|
|
|
|
|
|
|
|
48
|
1
|
|
|
1
|
|
6
|
use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK @EXPORT $VERSION); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
179
|
|
49
|
|
|
|
|
|
|
@ISA = qw(Exporter AutoLoader DynaLoader); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
# Items to export into callers namespace by default. Note: do not export |
52
|
|
|
|
|
|
|
# names by default without a very good reason. Use EXPORT_OK instead. |
53
|
|
|
|
|
|
|
# Do not simply export all your public functions/methods/constants. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
# This allows declaration use File::RsyncP::FileList ':all'; |
56
|
|
|
|
|
|
|
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK |
57
|
|
|
|
|
|
|
# will save memory. |
58
|
|
|
|
|
|
|
%EXPORT_TAGS = ( 'all' => [ qw( |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
) ] ); |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
@EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
@EXPORT = qw( |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
); |
67
|
|
|
|
|
|
|
$VERSION = '0.72'; |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
bootstrap File::RsyncP::FileList $VERSION; |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
# Preloaded methods go here. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
1; |
74
|
|
|
|
|
|
|
__END__ |