| 1 | package Sah::Schema::unix::gid::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::gid" => { | |
| 11 | summary => 'Group identifier (GID) that has to exist on the system', | ||
| 12 | description => <<'MARKDOWN', | ||
| 13 | |||
| 14 | Existing means having a group name associated with this GID, i.e. `getgrgid` | ||
| 15 | returns a record. | ||
| 16 | |||
| 17 | Support coercion from an existing group name. | ||
| 18 | |||
| 19 | MARKDOWN | ||
| 20 | 'prefilters' => ['Unix::convert_unix_group_to_gid', 'Unix::check_gid_exists'], | ||
| 21 | }]; | ||
| 22 | |||
| 23 | 1 | 1; | |
| 24 | # ABSTRACT: Group identifier (GID) that has to exist on the system | ||
| 25 | |||
| 26 | __END__ | ||