{
    "content": [
        {
            "type": "text",
            "text": "# Dpkg::Deps::KnownFacts (perldoc)\n\n## NAME\n\nDpkg::Deps::KnownFacts - list of installed real and virtual packages\n\n## DESCRIPTION\n\nThis class represents a list of installed packages and a list of virtual packages provided (by\nthe set of installed packages).\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **METHODS**\n- **CHANGES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Dpkg::Deps::KnownFacts",
        "section": "",
        "mode": "perldoc",
        "summary": "Dpkg::Deps::KnownFacts - list of installed real and virtual packages",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "CHANGES",
                "lines": 13,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Dpkg::Deps::KnownFacts - list of installed real and virtual packages\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class represents a list of installed packages and a list of virtual packages provided (by\nthe set of installed packages).\n",
                "subsections": []
            },
            "METHODS": {
                "content": "$facts = Dpkg::Deps::KnownFacts->new();\nCreates a new object.\n\n$facts->addinstalledpackage($package, $version, $arch, $multiarch)\nRecords that the given version of the package is installed. If $version/$arch is undefined\nwe know that the package is installed but we don't know which version/architecture it is.\n$multiarch is the Multi-Arch field of the package. If $multiarch is undef, it will be\nequivalent to \"Multi-Arch: no\".\n\nNote that $multiarch is only used if $arch is provided.\n\n$facts->addprovidedpackage($virtual, $relation, $version, $by)\nRecords that the \"$by\" package provides the $virtual package. $relation and $version\ncorrespond to the associated relation given in the Provides field (if present).\n\n$facts->evaluatesimpledep()\nThis method is private and should not be used except from within Dpkg::Deps.\n",
                "subsections": []
            },
            "CHANGES": {
                "content": "Version 2.00 (dpkg 1.20.0)\nRemove method: $facts->checkpackage().\n\nVersion 1.01 (dpkg 1.16.1)\nNew option: Dpkg::Deps::KnownFacts->addinstalledpackage() now accepts 2 supplementary\nparameters ($arch and $multiarch).\n\nDeprecated method: Dpkg::Deps::KnownFacts->checkpackage() is obsolete, it should not have been\npart of the public API.\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n",
                "subsections": []
            }
        }
    }
}