line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catmandu::Droppable; |
2
|
|
|
|
|
|
|
|
3
|
17
|
|
|
17
|
|
9035
|
use Catmandu::Sane; |
|
17
|
|
|
|
|
46
|
|
|
17
|
|
|
|
|
150
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.2020'; |
6
|
|
|
|
|
|
|
|
7
|
17
|
|
|
17
|
|
134
|
use Moo::Role; |
|
17
|
|
|
|
|
43
|
|
|
17
|
|
|
|
|
134
|
|
8
|
17
|
|
|
17
|
|
6991
|
use namespace::clean; |
|
17
|
|
|
|
|
44
|
|
|
17
|
|
|
|
|
132
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
requires 'drop'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__END__ |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=pod |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Catmandu::Droppable - Optional role for droppable stores or bags |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 SYNOPSIS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# delete a store |
25
|
|
|
|
|
|
|
$store->drop; |
26
|
|
|
|
|
|
|
# delete a single bag |
27
|
|
|
|
|
|
|
$store->bag('sessions')->drop; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 METHODS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head2 drop |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Drop the store or bag. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|