vcpkg/toolsrc/include/vcpkg_Files.h

14 lines
371 B
C
Raw Normal View History

2016-09-19 11:50:08 +08:00
#pragma once
#include "expected.h"
#include <filesystem>
namespace vcpkg {namespace Files
{
void check_is_directory(const std::tr2::sys::path& dirpath);
expected<std::string> get_contents(const std::tr2::sys::path& file_path) noexcept;
2016-09-22 12:43:59 +08:00
std::tr2::sys::path find_file_recursively_up(const std::tr2::sys::path& starting_dir, const std::string& filename);
2016-09-19 11:50:08 +08:00
}}