mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 19:43:33 +01:00
29 lines
882 B
C++
29 lines
882 B
C++
#pragma once
|
|
|
|
#include "package_spec.h"
|
|
#include "BinaryParagraph.h"
|
|
#include "StatusParagraphs.h"
|
|
#include "vcpkg_paths.h"
|
|
#include "ImmutableSortedVector.h"
|
|
|
|
namespace vcpkg
|
|
{
|
|
StatusParagraphs database_load_check(const vcpkg_paths& paths);
|
|
|
|
void write_update(const vcpkg_paths& paths, const StatusParagraph& p);
|
|
|
|
struct StatusParagraph_and_associated_files
|
|
{
|
|
StatusParagraph pgh;
|
|
ImmutableSortedVector<std::string> files;
|
|
};
|
|
|
|
std::vector<StatusParagraph_and_associated_files> get_installed_files(const vcpkg_paths& paths, const StatusParagraphs& status_db);
|
|
|
|
expected<SourceParagraph> try_load_port(const fs::path& control_path);
|
|
|
|
expected<BinaryParagraph> try_load_cached_package(const vcpkg_paths& paths, const package_spec& spec);
|
|
|
|
std::vector<SourceParagraph> load_all_ports(const fs::path& ports_dir);
|
|
} // namespace vcpkg
|