Sah/Schema/unix/uid/exists.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/unix/uid.pm ↑ Summary Sah/Schema/unix/username.pm »
1 package Sah::Schema::unix::uid::exists;
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-11-15'; # DATE
7 1 our $DIST = 'Sah-SchemaBundle-Unix'; # DIST
8 1 our $VERSION = '0.022'; # VERSION
9  
10 1 our $schema = ["unix::uid" => {
11 summary => 'User identifier (UID) that has to exist (has associated username) on the system',
12 description => <<'MARKDOWN',
13  
14 Existing means having a user name associated with this UID, i.e. `getpwuid`
15 returns a record.
16  
17 Support coercion from an existing user name.
18  
19 MARKDOWN
20 'prefilters' => ['Unix::convert_unix_user_to_uid', 'Unix::check_uid_exists'],
21 }];
22  
23 1 1;
24 # ABSTRACT: User identifier (UID) that has to exist (has associated username) on the system
25  
26 __END__
« Sah/Schema/unix/uid.pm ↑ Summary Sah/Schema/unix/username.pm »