// file : bpkg/rep-add.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2019 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BPKG_REP_ADD_HXX #define BPKG_REP_ADD_HXX #include #include #include // transaction, repository #include #include namespace bpkg { int rep_add (const rep_add_options&, cli::scanner& args); // Create the new repository if it is not in the database yet or update its // location if it differs. Then add it as a complement to the root // repository if it is not already. // shared_ptr rep_add (const common_options&, transaction&, const repository_location&); } #endif // BPKG_REP_ADD_HXX