logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Lintian::Deb822::Section -- A paragraph in a control file

Author

Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian.

Description

Represents a paragraph in a Deb822 control file.

Instance Methods

legend Returns exact field names for their lowercase versions. verbatim Returns a hash to the raw, unedited and verbatim field values. unfolded Returns a hash to unfolded field values. Continuations lines have been connected. positions The original line positions. trimmed_list(FIELD [, SEPARATOR]) unfolded_value (FIELD) This method returns the unfolded value of the control field FIELD in the control file for the package. For a source package, this is the *.dsc file; for a binary package, this is the control file in the control section of the package. If FIELD is passed but not present, then this method returns undef. value (FIELD) If FIELD is given, this method returns the value of the control field FIELD. untrimmed_value (FIELD) If FIELD is given, this method returns the value of the control field FIELD. text (FIELD) store (FIELD, VALUE) drop (FIELD) declares (NAME) Returns a boolean for whether the named field exists. names Returns an array with the literal field names. literal_name Returns an array with the literal, true case field names. position With an argument, returns the starting line of the named field. Without an argument, return the starting line of the paragraph. extra

Name

Lintian::Deb822::Section -- A paragraph in a control file

See Also

lintian(1) Lintian v2.122.0ubuntu1 2025-05-01 Lintian::Deb822::Section(3)

Synopsis

use Lintian::Deb822::Section;

See Also