diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-04-08 20:19:35 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-04-08 20:19:35 -0700 |
| commit | b34c40a4e674f5db538e84ca2b9509482ac140e7 (patch) | |
| tree | 48a09d41e4760d97a20386dce00105cae54b1f17 /toolsrc/include/Paragraphs.h | |
| parent | c434dc99868989ca55aef5e445ac6a0a4c3430f7 (diff) | |
| download | vcpkg-b34c40a4e674f5db538e84ca2b9509482ac140e7.tar.gz vcpkg-b34c40a4e674f5db538e84ca2b9509482ac140e7.zip | |
[vcpkg] Further work on filesystem abstraction layer.
Diffstat (limited to 'toolsrc/include/Paragraphs.h')
| -rw-r--r-- | toolsrc/include/Paragraphs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/include/Paragraphs.h b/toolsrc/include/Paragraphs.h index cdd35e425..cf21635d7 100644 --- a/toolsrc/include/Paragraphs.h +++ b/toolsrc/include/Paragraphs.h @@ -11,16 +11,16 @@ namespace vcpkg::Paragraphs { using ParagraphDataMap = std::unordered_map<std::string, std::string>; - Expected<ParagraphDataMap> get_single_paragraph(Files::Filesystem& fs, const fs::path& control_path); - Expected<std::vector<ParagraphDataMap>> get_paragraphs(Files::Filesystem& fs, const fs::path& control_path); + Expected<ParagraphDataMap> get_single_paragraph(const Files::Filesystem& fs, const fs::path& control_path); + Expected<std::vector<ParagraphDataMap>> get_paragraphs(const Files::Filesystem& fs, const fs::path& control_path); Expected<ParagraphDataMap> parse_single_paragraph(const std::string& str); Expected<std::vector<ParagraphDataMap>> parse_paragraphs(const std::string& str); - Expected<SourceParagraph> try_load_port(Files::Filesystem& fs, const fs::path& control_path); + Expected<SourceParagraph> try_load_port(const Files::Filesystem& fs, const fs::path& control_path); Expected<BinaryParagraph> try_load_cached_package(const VcpkgPaths& paths, const PackageSpec& spec); - std::vector<SourceParagraph> load_all_ports(Files::Filesystem& fs, const fs::path& ports_dir); + std::vector<SourceParagraph> load_all_ports(const Files::Filesystem& fs, const fs::path& ports_dir); std::map<std::string, VersionT> extract_port_names_and_versions(const std::vector<SourceParagraph>& source_paragraphs); } |
