mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 05:29:02 +08:00
6eac44c964
appropriate commands
23 lines
657 B
C++
23 lines
657 B
C++
#pragma once
|
|
|
|
#include "package_spec.h"
|
|
#include "BinaryParagraph.h"
|
|
#include "StatusParagraphs.h"
|
|
#include "vcpkg_paths.h"
|
|
|
|
namespace vcpkg
|
|
{
|
|
StatusParagraphs database_load_check(const vcpkg_paths& paths);
|
|
|
|
void write_update(const vcpkg_paths& paths, const StatusParagraph& p);
|
|
|
|
expected<SourceParagraph> try_load_port(const fs::path& control_path);
|
|
|
|
inline expected<SourceParagraph> try_load_port(const vcpkg_paths& paths, const std::string& name)
|
|
{
|
|
return try_load_port(paths.ports / name);
|
|
}
|
|
|
|
expected<BinaryParagraph> try_load_cached_package(const vcpkg_paths& paths, const package_spec& spec);
|
|
} // namespace vcpkg
|