aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg_Files.h
blob: d23742f74fc4157f2974a08e154343e7ed2d07f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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;
}}