From ddf8c2b62fa09eb765afc0c093d0d8908f7b69e4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 10 Oct 2015 17:48:03 +0200 Subject: Complete build command --- bpkg/pkg-unpack | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'bpkg/pkg-unpack') diff --git a/bpkg/pkg-unpack b/bpkg/pkg-unpack index 4a37c35..a569efe 100644 --- a/bpkg/pkg-unpack +++ b/bpkg/pkg-unpack @@ -6,12 +6,30 @@ #define BPKG_PKG_UNPACK #include +#include // transaction, selected_package #include namespace bpkg { void pkg_unpack (const pkg_unpack_options&, cli::scanner& args); + + // Unpack the package as a source directory and commit the transaction. + // + shared_ptr + pkg_unpack (const dir_path& configuration, + transaction&, + const dir_path&, + bool replace, + bool purge); + + // Unpack the fetched package and commit the transaction. + // + shared_ptr + pkg_unpack (const common_options&, + const dir_path& configuration, + transaction&, + const string& name); } #endif // BPKG_PKG_UNPACK -- cgit v1.1