/usr/share/perl5/Config/Model/models/Itself/WarpOnlyElement.pl is in libconfig-model-itself-perl 2.006-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | #
# This file is part of Config-Model-Itself
#
# This software is Copyright (c) 2007-2016 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
[
name => "Itself::WarpOnlyElement",
include => 'Itself::WarpableElement' ,
'element'
=> [
'level'
=> {
type => 'leaf',
value_type => 'enum',
choice => [qw/important normal hidden/] ,
},
'index_type'
=> { type => 'leaf',
value_type => 'enum',
level => 'hidden' ,
warp => { follow => '?type',
'rules'
=> { 'hash' => {
level => 'important',
#mandatory => 1,
choice => [qw/string integer/] ,
}
}
},
description => 'Specify the type of allowed index for the hash. "String" means no restriction.',
},
],
'description'
=> [
level => 'Used to highlight important parameter or to hide others. Hidden parameter are mostly used to hide features that are unavailable at start time. They can be made available later using warp mechanism',
],
],
];
|