Alexander Karatarakis 1313a418cf Introduce PowershellParameter to add '' to parameter values.
Also place that and CMakeVariable in System.h
2017-11-20 18:17:24 -08:00

25 lines
799 B
C++

#pragma once
#include <vcpkg/base/sortedvector.h>
#include <vcpkg/statusparagraphs.h>
#include <vcpkg/vcpkgpaths.h>
namespace vcpkg
{
StatusParagraphs database_load_check(const VcpkgPaths& paths);
void write_update(const VcpkgPaths& paths, const StatusParagraph& p);
struct StatusParagraphAndAssociatedFiles
{
StatusParagraph pgh;
SortedVector<std::string> files;
};
std::vector<StatusParagraph*> get_installed_ports(const StatusParagraphs& status_db);
std::vector<StatusParagraphAndAssociatedFiles> get_installed_files(const VcpkgPaths& paths,
const StatusParagraphs& status_db);
std::string shorten_text(const std::string& desc, const size_t length);
} // namespace vcpkg