// file : bpkg/pkg-unpack.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2018 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BPKG_PKG_UNPACK_HXX #define BPKG_PKG_UNPACK_HXX #include // version #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 common_options&, const dir_path& configuration, transaction&, const dir_path&, bool replace, bool purge, bool simulate); // Unpack the fetched package and commit the transaction. // shared_ptr pkg_unpack (const common_options&, const dir_path& configuration, transaction&, const string& name, bool simulate); // Unpack the package as a source directory from a directory-based // repository and commit the transaction. // shared_ptr pkg_unpack (const common_options&, const dir_path& configuration, transaction&, string name, version, bool replace, bool simulate); } #endif // BPKG_PKG_UNPACK_HXX