aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/Paragraphs.h
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-10-13 18:37:41 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-10-13 18:37:41 -0700
commite17de99599a2f114faab1bb4821fbaad4d266c95 (patch)
tree397fec8a85af3ef002c125ce013eceb60d27116d /toolsrc/include/Paragraphs.h
parent1fb5313a881fe0fcfd90dff5255045c8367ee00b (diff)
downloadvcpkg-e17de99599a2f114faab1bb4821fbaad4d266c95.tar.gz
vcpkg-e17de99599a2f114faab1bb4821fbaad4d266c95.zip
[vcpkg] Re-layout all files using new organization scheme.
All filenames and directories are lowercase. Use dots for namespace separation.
Diffstat (limited to 'toolsrc/include/Paragraphs.h')
-rw-r--r--toolsrc/include/Paragraphs.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/toolsrc/include/Paragraphs.h b/toolsrc/include/Paragraphs.h
deleted file mode 100644
index aae46f7da..000000000
--- a/toolsrc/include/Paragraphs.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#pragma once
-
-#include <map>
-
-#include "BinaryParagraph.h"
-#include "VcpkgPaths.h"
-#include "VersionT.h"
-#include "filesystem_fs.h"
-#include "vcpkg_Parse.h"
-#include "vcpkg_expected.h"
-
-namespace vcpkg::Paragraphs
-{
- using RawParagraph = Parse::RawParagraph;
-
- Expected<RawParagraph> get_single_paragraph(const Files::Filesystem& fs, const fs::path& control_path);
- Expected<std::vector<RawParagraph>> get_paragraphs(const Files::Filesystem& fs, const fs::path& control_path);
- Expected<RawParagraph> parse_single_paragraph(const std::string& str);
- Expected<std::vector<RawParagraph>> parse_paragraphs(const std::string& str);
-
- Parse::ParseExpected<SourceControlFile> try_load_port(const Files::Filesystem& fs, const fs::path& control_path);
-
- Expected<BinaryControlFile> try_load_cached_control_package(const VcpkgPaths& paths, const PackageSpec& spec);
-
- struct LoadResults
- {
- std::vector<std::unique_ptr<SourceControlFile>> paragraphs;
- std::vector<std::unique_ptr<Parse::ParseControlErrorInfo>> errors;
- };
-
- LoadResults try_load_all_ports(const Files::Filesystem& fs, const fs::path& ports_dir);
-
- std::vector<std::unique_ptr<SourceControlFile>> load_all_ports(const Files::Filesystem& fs,
- const fs::path& ports_dir);
-
- std::map<std::string, VersionT> load_all_port_names_and_versions(const Files::Filesystem& fs,
- const fs::path& ports_dir);
-}