diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-05-14 18:50:55 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-05-14 21:10:30 +0300 |
commit | 3271ee28840ff1ab905943649acbcea262cd9b2b (patch) | |
tree | acdd475f31b2fa711ca2d90aa04d947e65bf4f37 /bpkg/rep-remove.hxx | |
parent | dcb8512ff90f75da37227e4d9bcc7c058a3b9ca6 (diff) |
Fix rep-remove assertions
Diffstat (limited to 'bpkg/rep-remove.hxx')
-rw-r--r-- | bpkg/rep-remove.hxx | 7 |
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 |