line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JMAP::Validation::Checks::File; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
3731
|
use JMAP::Validation::Checks::Number; |
|
5
|
|
|
|
|
6
|
|
|
5
|
|
|
|
|
116
|
|
4
|
5
|
|
|
5
|
|
322
|
use JMAP::Validation::Checks::String; |
|
5
|
|
|
|
|
6
|
|
|
5
|
|
|
|
|
81
|
|
5
|
5
|
|
|
5
|
|
16
|
use Test2::Bundle::Extended; |
|
5
|
|
|
|
|
5
|
|
|
5
|
|
|
|
|
19
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $is_File = hash { |
8
|
|
|
|
|
|
|
field blobId => $JMAP::Validation::Checks::String::is_id; |
9
|
|
|
|
|
|
|
field type => $JMAP::Validation::Checks::String::is_string_or_null; |
10
|
|
|
|
|
|
|
field name => $JMAP::Validation::Checks::String::is_string_or_null; |
11
|
|
|
|
|
|
|
field size => $JMAP::Validation::Checks::Number::is_number_or_null; |
12
|
|
|
|
|
|
|
end(); |
13
|
|
|
|
|
|
|
}; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |