mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 16:09:01 +08:00
25 lines
715 B
C++
25 lines
715 B
C++
#pragma once
|
|
|
|
#include <vcpkg/dependencies.h>
|
|
#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 Dependencies::PortFileProvider& provider,
|
|
const StatusParagraphs& status_db);
|
|
|
|
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
|
|
}
|