edges() -> dependencies()
MODIFY
include/vcpkg_Dependencies.h
include/vcpkg_Dependencies.h
#include "StatusParagraphs.h"
#include "VcpkgPaths.h"
#include "vcpkg_optional.h"
-#include "Paragraphs.h"
namespace vcpkg::Dependencies
{
struct AnyParagraph
{
- std::vector<PackageSpec> edges() const;
+ std::vector<PackageSpec> dependencies() const;
PackageSpec spec;
Optional<StatusParagraph> status_paragraph;

MODIFY
src/vcpkg_Dependencies.cpp
src/vcpkg_Dependencies.cpp
#include "vcpkg_Files.h"
#include "vcpkg_Util.h"
#include "vcpkglib.h"
+#include "Paragraphs.h"
namespace vcpkg::Dependencies
{
- std::vector<PackageSpec> AnyParagraph::edges() const
+ std::vector<PackageSpec> AnyParagraph::dependencies() const
{
auto to_package_specs = [&](const std::vector<std::string>& dependencies_as_string)
{
@@ -127,7 +128,7 @@ namespace vcpkg::Dependencies
{
if (p.status_paragraph.get())
return std::vector<PackageSpec>{};
- return p.edges();
+ return p.dependencies();
}
AnyParagraph load_vertex_data(const PackageSpec& spec) const override

edges() -> dependencies()