diff options
Diffstat (limited to 'bpkg/pkg-purge')
-rw-r--r-- | bpkg/pkg-purge | 8 |
1 files changed, 8 insertions, 0 deletions
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<selected_package>&); + // 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. |