{
    "content": [
        {
            "type": "text",
            "text": "# Dpkg::Changelog::Entry::Debian (perldoc)\n\n## NAME\n\nDpkg::Changelog::Entry::Debian - represents a Debian changelog entry\n\n## DESCRIPTION\n\nThis class represents a Debian changelog entry. It implements the generic interface\nDpkg::Changelog::Entry. Only functions specific to this implementation are described below, the\nrest are inherited.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **METHODS**\n- **UTILITY FUNCTIONS**\n- **CHANGES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Dpkg::Changelog::Entry::Debian",
        "section": "",
        "mode": "perldoc",
        "summary": "Dpkg::Changelog::Entry::Debian - represents a Debian changelog entry",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 42,
                "subsections": []
            },
            {
                "name": "UTILITY FUNCTIONS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "CHANGES",
                "lines": 21,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Dpkg::Changelog::Entry::Debian - represents a Debian changelog entry\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class represents a Debian changelog entry. It implements the generic interface\nDpkg::Changelog::Entry. Only functions specific to this implementation are described below, the\nrest are inherited.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "@items = $entry->getchangeitems()\nReturn a list of change items. Each item contains at least one line. A change line starting\nwith an asterisk denotes the start of a new item. Any change line like \"\"[ Raphaël Hertzog\n]\"\" is treated like an item of its own even if it starts a set of items attributed to this\nperson (the following line necessarily starts a new item).\n\n@errors = $entry->parseheader()\n@errors = $entry->parsetrailer()\nReturn a list of errors. Each item in the list is an error message describing the problem.\nIf the empty list is returned, no errors have been found.\n\n$entry->normalize()\nNormalize the content. Strip whitespaces at end of lines, use a single empty line to\nseparate each part.\n\n$src = $entry->getsource()\nReturn the name of the source package associated to the changelog entry.\n\n$ver = $entry->getversion()\nReturn the version associated to the changelog entry.\n\n@dists = $entry->getdistributions()\nReturn a list of target distributions for this version.\n\n$fields = $entry->getoptionalfields()\nReturn a set of optional fields exposed by the changelog entry. It always returns a\nDpkg::Control object (possibly empty though).\n\n$urgency = $entry->geturgency()\nReturn the urgency of the associated upload.\n\n$maint = $entry->getmaintainer()\nReturn the string identifying the person who signed this changelog entry.\n\n$time = $entry->gettimestamp()\nReturn the timestamp of the changelog entry.\n\n$time = $entry->gettimepiece()\nReturn the timestamp of the changelog entry as a Time::Piece object.\n\nThis function might return undef if there was no timestamp.\n",
                "subsections": []
            },
            "UTILITY FUNCTIONS": {
                "content": "$bool = matchheader($line)\nChecks if the line matches a valid changelog header line.\n\n$bool = matchtrailer($line)\nChecks if the line matches a valid changelog trailing line.\n\n@closedbugs = findcloses($changes)\nTakes one string as argument and finds \"Closes: #123456, #654321\" statements as supported by\nthe Debian Archive software in it. Returns all closed bug numbers in an array.\n",
                "subsections": []
            },
            "CHANGES": {
                "content": "Version 2.00 (dpkg 1.20.0)\nRemove methods: $entry->checkheader(), $entry->checktrailer().\n\nHide variables: $regexheader, $regextrailer.\n\nVersion 1.03 (dpkg 1.18.8)\nNew methods: $entry->gettimepiece().\n\nVersion 1.02 (dpkg 1.18.5)\nNew methods: $entry->parseheader(), $entry->parsetrailer().\n\nDeprecated methods: $entry->checkheader(), $entry->checktrailer().\n\nVersion 1.01 (dpkg 1.17.2)\nNew functions: matchheader(), matchtrailer()\n\nDeprecated variables: $regexheader, $regextrailer\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n",
                "subsections": []
            }
        }
    }
}