aboutsummaryrefslogtreecommitdiff
path: root/bpkg/archive
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/archive')
-rw-r--r--bpkg/archive6
1 files changed, 4 insertions, 2 deletions
diff --git a/bpkg/archive b/bpkg/archive
index 918734c..1f33538 100644
--- a/bpkg/archive
+++ b/bpkg/archive
@@ -20,10 +20,12 @@ namespace bpkg
package_dir (const path& archive);
// Start the process of extracting the specified file from the archive. If
- // error is false, then redirect STDERR to STDOUT (this can be used, for
+ // error is false, then redirect STDERR to /dev/null (this can be used, for
// example, to suppress diagnostics).
//
- butl::process
+ // Return a pair of processes that form a pipe. Wait on the second first.
+ //
+ pair<butl::process, butl::process>
start_extract (const common_options&,
const path& archive,
const path& file,