2016-09-19 11:50:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "StatusParagraphs.h"
|
|
|
|
#include "vcpkg_paths.h"
|
2016-12-23 08:43:47 +08:00
|
|
|
#include "ImmutableSortedVector.h"
|
2016-09-19 11:50:08 +08:00
|
|
|
|
|
|
|
namespace vcpkg
|
|
|
|
{
|
|
|
|
StatusParagraphs database_load_check(const vcpkg_paths& paths);
|
|
|
|
|
2016-12-01 17:49:24 +08:00
|
|
|
void write_update(const vcpkg_paths& paths, const StatusParagraph& p);
|
2016-11-16 03:56:46 +08:00
|
|
|
|
2016-12-02 07:36:39 +08:00
|
|
|
struct StatusParagraph_and_associated_files
|
|
|
|
{
|
|
|
|
StatusParagraph pgh;
|
2016-12-23 08:43:47 +08:00
|
|
|
ImmutableSortedVector<std::string> files;
|
2016-12-02 07:36:39 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
std::vector<StatusParagraph_and_associated_files> get_installed_files(const vcpkg_paths& paths, const StatusParagraphs& status_db);
|
2016-09-19 11:50:08 +08:00
|
|
|
} // namespace vcpkg
|