From 5d513688ae07d96910dd1eef83bdad4e9d780373 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 22 Apr 2021 21:57:13 +0300 Subject: Add support for linked configurations --- bpkg/rep-remove.hxx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'bpkg/rep-remove.hxx') diff --git a/bpkg/rep-remove.hxx b/bpkg/rep-remove.hxx index f85aec5..0fc82e8 100644 --- a/bpkg/rep-remove.hxx +++ b/bpkg/rep-remove.hxx @@ -5,7 +5,7 @@ #define BPKG_REP_REMOVE_HXX #include -#include // database, transaction, repository +#include // transaction, repository #include #include @@ -20,15 +20,13 @@ namespace bpkg // repository fragments. // void - rep_remove (const dir_path& conf, - transaction&, - const shared_ptr&); + rep_remove (database&, transaction&, const shared_ptr&); // Remove a repository fragment if it is not referenced by any repository, // also removing its unreachable complements and prerequisites. // void - rep_remove_fragment (const dir_path& conf, + rep_remove_fragment (database&, transaction&, const shared_ptr&); @@ -50,16 +48,15 @@ namespace bpkg // - Remove all available packages. // void - rep_remove_clean (const common_options&, - const dir_path& conf, - database&, - bool quiet = true); + rep_remove_clean (const common_options&, database&, bool quiet = true); // Remove a repository fragment from locations of the available packages it // contains. Remove packages that come from only this repository fragment. // void - rep_remove_package_locations (transaction&, const string& fragment_name); + rep_remove_package_locations (database&, + transaction&, + const string& fragment_name); } #endif // BPKG_REP_REMOVE_HXX -- cgit v1.1