mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 19:43:33 +01:00
22 lines
695 B
C++
22 lines
695 B
C++
#pragma once
|
|
|
|
#include <vcpkg/packagespec.h>
|
|
#include <vcpkg/statusparagraphs.h>
|
|
#include <vcpkg/vcpkgcmdarguments.h>
|
|
#include <vcpkg/vcpkgpaths.h>
|
|
#include <vcpkg/versiont.h>
|
|
|
|
namespace vcpkg::Update
|
|
{
|
|
struct OutdatedPackage
|
|
{
|
|
static bool compare_by_name(const OutdatedPackage& left, const OutdatedPackage& right);
|
|
|
|
PackageSpec spec;
|
|
VersionDiff version_diff;
|
|
};
|
|
|
|
std::vector<OutdatedPackage> find_outdated_packages(const std::map<std::string, VersionT>& src_names_to_versions,
|
|
const StatusParagraphs& status_db);
|
|
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
|
|
} |