blib/lib/VCS/LibCVS/Client/Response/FileUpdateModifyingResponses.pm

filter: Statementstmt 90.4% 19 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 6 / 8 Podpod n/a totaltotal 86.2% 25 / 29 CC 1 SCAR 2.2
CC
1
Cov
90%
included_data
2.0
included_data
2.0
BEGIN
1.0
CRAP 1.2
« blib/lib/VCS/LibCVS/Client/Request/Requests.pm ↑ Summary blib/lib/VCS/LibCVS/Datum/DirectoryName.pm »
1 #
2 # Copyright (c) 2003,2004,2005 Alexander Taler (dissent@0--0.org)
3 #
4 # All rights reserved. This program is free software; you can redistribute it
5 # and/or modify it under the same terms as Perl itself.
6 #
7  
8 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 =head1 NAME
11  
12 VCS::LibCVS::Client::Response::FileUpdateModifyingResponses - Classes for many Responses
13  
14 =head1 SYNOPSIS
15  
16 my @responses = Client::Response->read_from_server($server_conn);
17  
18 =head1 DESCRIPTION
19  
20 A file update modifying response is one which affects the next file updating
21 response. There is a class for each of them here, along with a common
22 superclass.
23  
24 Each response comes with a predetermined set of args, listed below.
25  
26 =head1 SUPERCLASS
27  
28 VCS::LibCVS::Client::Response
29  
30 =cut
31  
32 1 $VCS::LibCVS::Client::Response::FileUpdatModifyingResponses::REVISION = '$Header: /cvsroot/libcvs-perl/libcvs-perl/VCS/LibCVS/Client/Response/FileUpdateModifyingResponses.pm,v 1.11 2005/10/10 12:52:11 dissent Exp $ ';
33  
34 ###############################################################################
35 # FileUpdateModifyingResponse
36 ###############################################################################
37  
38 =head1 CLASSES
39  
40 =head2 VCS::LibCVS::Client::Response::FileUpdateModifyingResponse
41  
42 A common superclass for all the file update modifiying responses.
43  
44 =cut
45  
46 package VCS::LibCVS::Client::Response::FileUpdateModifyingResponse;
47 1 ▶use vars ('@ISA');
Subroutine BEGIN: called CC=1 SCAR=0.0
48 1 @ISA =("VCS::LibCVS::Client::Response");
49  
50 ###############################################################################
51 # Mode
52 ###############################################################################
53  
54 =head2 VCS::LibCVS::Client::Response::Mode
55  
56 The mode of the file.
57  
58 "FileMode"
59  
60 =cut
61  
62 package VCS::LibCVS::Client::Response::Mode;
63 1 ▶use vars ('@ISA');
Subroutine BEGIN: called CC=1 SCAR=0.0
64 1 @ISA =("VCS::LibCVS::Client::Response::FileUpdateModifyingResponse");
65 1 ▶sub BEGIN { push @VCS::LibCVS::Client::Response::Valid_responses, "Mode";}
Subroutine BEGIN: called CC=1 SCAR=0.0
66 0 ▶sub included_data { return ("FileMode"); }
Subroutine included_data: not called CC=1 SCAR=6.9
67  
68 ###############################################################################
69 # Mod-time
70 ###############################################################################
71  
72 =head2 VCS::LibCVS::Client::Response::Mod_time
73  
74 The modification time of the file.
75  
76 "Time"
77  
78 =cut
79  
80 package VCS::LibCVS::Client::Response::Mod_time;
81 1 ▶use vars ('@ISA');
Subroutine BEGIN: called CC=1 SCAR=0.0
82 1 @ISA =("VCS::LibCVS::Client::Response::FileUpdateModifyingResponse");
83 1 ▶sub BEGIN { push @VCS::LibCVS::Client::Response::Valid_responses, "Mod-time";}
Subroutine BEGIN: called CC=1 SCAR=0.0
84 0 ▶sub included_data { return ("Time"); }
Subroutine included_data: not called CC=1 SCAR=6.9
85  
86 =head1 SEE ALSO
87  
88 VCS::LibCVS::Client
89 VCS::LibCVS::Client::Response
90 VCS::LibCVS::Client::Response::FileUpdatingResponses
91  
92 =cut
93  
94 1 1;
« blib/lib/VCS/LibCVS/Client/Request/Requests.pm ↑ Summary blib/lib/VCS/LibCVS/Datum/DirectoryName.pm »