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::Inspect::Changelog::Version -- Parse a literal version string into its constituents

Author

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

Class Methods

       new ()
           Creates a new Lintian::Inspect::Changelog::Version object.

Description

       A class for parsing literal version strings

Instance Methods

       assign (LITERAL, NATIVE)
           Assign  the  various  members  in  the  Lintian::Inspect::Changelog::Version object using the LITERAL
           version string and the NATIVE boolean selector.

       literal
       epoch
       no_epoch
       upstream
       maintainer_revision
       debian_source
       debian_no_epoch
       source_nmu
       binary_nmu
       without_source_nmu
       debian_without_backport
       backport_release
       backport_revision
       without_backport

Name

       Lintian::Inspect::Changelog::Version -- Parse a literal version string into its constituents

See Also

lintian(1)

Lintian v2.114.0ubuntu1.6                          2025-05-02            Lintian::Inspect::Changelog::Version(3)

Synopsis

        use Lintian::Inspect::Changelog::Version;

        my $version = Lintian::Inspect::Changelog::Version->new;
        $version->assign('1.2.3-4', undef);

See Also