diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-13 12:50:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-13 12:50:36 +0200 |
commit | ad1de6c34f5492164d89667c648294363b972c99 (patch) | |
tree | ff95bdc11204b2a3459114b6775bd749f84ef08f /bpkg/pkg-drop.hxx | |
parent | e89ecd4d84909d853d9441f1cee01fccbb9b210d (diff) |
Clean up pkg-drop, add --plan
Diffstat (limited to 'bpkg/pkg-drop.hxx')
-rw-r--r-- | bpkg/pkg-drop.hxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bpkg/pkg-drop.hxx b/bpkg/pkg-drop.hxx index b7e0be1..63d6e29 100644 --- a/bpkg/pkg-drop.hxx +++ b/bpkg/pkg-drop.hxx @@ -5,10 +5,7 @@ #ifndef BPKG_PKG_DROP_HXX #define BPKG_PKG_DROP_HXX -#include <set> - #include <bpkg/types.hxx> -#include <bpkg/forward.hxx> // database, selected_package #include <bpkg/utility.hxx> #include <bpkg/pkg-drop-options.hxx> @@ -17,17 +14,6 @@ namespace bpkg { int pkg_drop (const pkg_drop_options&, cli::scanner& args); - - // Examine the list of prerequisite packages and drop those that don't - // have any dependents. Return the set of packages that were actually - // dropped. Note that it should be called in session. - // - std::set<shared_ptr<selected_package>> - pkg_drop (const dir_path& configuration, - const common_options&, - database&, - const std::set<shared_ptr<selected_package>>&, - bool prompt); } #endif // BPKG_PKG_DROP_HXX |