Scroll to navigation

Lintian::IO::Async(3) Debian Package Checker Lintian::IO::Async(3)

NAME

Lintian::IO::Async - process functions based on IO::Async

SYNOPSIS

 use Lintian::IO::Async qw(safe_qx);

DESCRIPTION

This module contains process functions based on IO::Async.

FUNCTIONS

"safe_qx(@cmd)"
Emulates the "qx()" operator but with array argument only.
get_deb_info(DEBFILE)
Extracts the control file from DEBFILE and returns it as a hashref.

DEBFILE must be an ar file containing a "control.tar.gz" member, which in turn should contain a "control" file. If the "control" file is empty this will return an empty list.

Note: the control file is only expected to have a single paragraph and thus only the first is returned (in the unlikely case that there are more than one).

unpack_and_index_piped_tar

SEE ALSO

lintian(1)
2021-02-01 Lintian v2.104.0~bpo10+1