Sah/Schema/filenames.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Sah/Schema/filename/unix/not_exists.pm ↑ Summary Sah/Schema/filenames/exist.pm »
1 package Sah::Schema::filenames;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6 1 our $DATE = '2024-02-16'; # DATE
7 1 our $DIST = 'Sah-SchemaBundle-Path'; # DIST
8 1 our $VERSION = '0.031'; # VERSION
9  
10 1 our $schema = [array => {
11 summary => 'List of filesystem file names',
12 description => <<'MARKDOWN',
13  
14 Coerces from string by expanding the glob pattern in the string.
15  
16 MARKDOWN
17 of => ['filename', {req=>1}],
18 'x.element_completion' => ['filename'],
19 'x.perl.coerce_rules' => [
20 'From_str::expand_glob',
21 ],
22 }];
23  
24 1 1;
25 # ABSTRACT: List of filesystem file names
26  
27 __END__
« Sah/Schema/filename/unix/not_exists.pm ↑ Summary Sah/Schema/filenames/exist.pm »