// file : bpkg/pkg-unpack -*- C++ -*- // copyright : Copyright (c) 2014-2016 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BPKG_PKG_UNPACK #define BPKG_PKG_UNPACK #include #include // transaction, selected_package #include #include namespace bpkg { int 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