ChangeNotify/Event.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 29 / 29 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ChangeNotify/Watcher/KQueue.pm ↑ Summary
1 package File::ChangeNotify::Event;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 our $VERSION = '0.29';
8  
9 3 ▶use Types::Standard qw( Str );
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use Type::Utils qw( enum );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 3 has path => (
15 is => 'ro',
16 isa => Str,
17 required => 1,
18 );
19  
20 3 has type => (
21 is => 'ro',
22 isa => enum( [qw( create modify delete unknown )] ),
23 required => 1,
24 );
25  
26 3 __PACKAGE__->meta()->make_immutable();
27  
28 3 1;
29  
30 # ABSTRACT: Class for file change events
31  
32 __END__
« ChangeNotify/Watcher/KQueue.pm ↑ Summary