.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Lintian::Tag 3" .TH Lintian::Tag 3 2024-02-05 "Lintian v2.117.0" "Debian Package Checker" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Lintian::Tag \- Lintian interface to tag metadata .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& my $tag = Lintian::Tag\->new; .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" This module provides an interface to tag metadata as gleaned from the *.desc files describing the checks. It can be used to retrieve specific metadata elements or to format the tag description. .SH "INSTANCE METHODS" .IX Header "INSTANCE METHODS" .IP name 4 .IX Item "name" .PD 0 .IP visibility 4 .IX Item "visibility" .IP check 4 .IX Item "check" .IP name_spaced 4 .IX Item "name_spaced" .IP show_always 4 .IX Item "show_always" .IP experimental 4 .IX Item "experimental" .IP explanation 4 .IX Item "explanation" .IP see_also 4 .IX Item "see_also" .IP renamed_from 4 .IX Item "renamed_from" .IP profile 4 .IX Item "profile" .IP load(PATH) 4 .IX Item "load(PATH)" .PD Loads a tag description from PATH. .IP \fBcode()\fR 4 .IX Item "code()" Returns the one-letter code for the tag. This will be a letter chosen from \f(CW\*(C`E\*(C'\fR, \f(CW\*(C`W\*(C'\fR, \f(CW\*(C`I\*(C'\fR, or \f(CW\*(C`P\*(C'\fR, based on the tag visibility, and other attributes (such as whether experimental is set). This code will never be \f(CW\*(C`O\*(C'\fR or \f(CW\*(C`X\*(C'\fR; overrides and experimental tags are handled separately. .SH AUTHOR .IX Header "AUTHOR" Originally written by Russ Allbery for Lintian. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlintian\fR\|(1)