From c108bb6ba4090046d8c2cd21f40a8008be977311 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 27 Oct 2015 10:06:45 +0200 Subject: Finish drop command implementation --- bpkg/pkg-purge | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bpkg/pkg-purge') diff --git a/bpkg/pkg-purge b/bpkg/pkg-purge index 399606d..9a11288 100644 --- a/bpkg/pkg-purge +++ b/bpkg/pkg-purge @@ -14,6 +14,14 @@ namespace bpkg int pkg_purge (const pkg_purge_options&, cli::scanner& args); + // Purge the package, remove it from the database, and commit the + // transaction. If this fails, set the package state to broken. + // + void + pkg_purge (const dir_path& configuration, + transaction&, + const shared_ptr&); + // Remove package's filesystem objects (the source directory and, if // the archive argument is true, the package archive). If this fails, // set the package state to broken, commit the transaction, and fail. -- cgit v1.1