2017-10-13 18:37:41 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <vcpkg/dependencies.h>
|
|
|
|
#include <vcpkg/vcpkgcmdarguments.h>
|
|
|
|
#include <vcpkg/vcpkgpaths.h>
|
|
|
|
|
|
|
|
namespace vcpkg::Remove
|
|
|
|
{
|
|
|
|
enum class Purge
|
|
|
|
{
|
|
|
|
NO = 0,
|
|
|
|
YES
|
|
|
|
};
|
|
|
|
|
|
|
|
inline Purge to_purge(const bool value) { return value ? Purge::YES : Purge::NO; }
|
|
|
|
|
|
|
|
void perform_remove_plan_action(const VcpkgPaths& paths,
|
|
|
|
const Dependencies::RemovePlanAction& action,
|
|
|
|
const Purge purge,
|
2018-01-23 14:14:01 -08:00
|
|
|
StatusParagraphs* status_db);
|
2017-10-13 18:37:41 -07:00
|
|
|
|
2017-10-14 02:16:55 -07:00
|
|
|
extern const CommandStructure COMMAND_STRUCTURE;
|
2017-10-13 20:58:00 -07:00
|
|
|
|
2020-02-07 11:24:35 -08:00
|
|
|
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, Triplet default_triplet);
|
2018-01-23 14:14:01 -08:00
|
|
|
void remove_package(const VcpkgPaths& paths, const PackageSpec& spec, StatusParagraphs* status_db);
|
2017-10-13 18:37:41 -07:00
|
|
|
}
|