aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-remove.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-05-14 18:50:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-05-14 21:10:30 +0300
commit3271ee28840ff1ab905943649acbcea262cd9b2b (patch)
treeacdd475f31b2fa711ca2d90aa04d947e65bf4f37 /bpkg/rep-remove.hxx
parentdcb8512ff90f75da37227e4d9bcc7c058a3b9ca6 (diff)
Fix rep-remove assertions
Diffstat (limited to 'bpkg/rep-remove.hxx')
-rw-r--r--bpkg/rep-remove.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/bpkg/rep-remove.hxx b/bpkg/rep-remove.hxx
index 0fc82e8..94a38c6 100644
--- a/bpkg/rep-remove.hxx
+++ b/bpkg/rep-remove.hxx
@@ -57,6 +57,13 @@ namespace bpkg
rep_remove_package_locations (database&,
transaction&,
const string& fragment_name);
+
+ // Verify that after all the repository/fragment removals the repository
+ // information is consistent in the database (if no repositories stayed then
+ // no fragments stayed either, etc).
+ //
+ void
+ rep_remove_verify (database&, transaction&, bool verify_packages = true);
}
#endif // BPKG_REP_REMOVE_HXX