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