Skip to main content

FreeBSD

getPkgs(offset, limit, path) -> Pkg[] | LinuxError

Get list of installed pkgs on the system. You may provide an optional alternative full path to the local.sqlite file.

You must provided an offset and the amount of packages to query from the database.

ParamTypeDescription
offsetnumberQuery offset to start at. 0 will start at the first package inthe database
limitnumberHow many packages to query
alt_pathstringOptional path to the local.sqlite file