mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 18:29:01 +08:00
16 lines
435 B
C++
16 lines
435 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
|
|
namespace fs
|
|
{
|
|
namespace stdfs = std::experimental::filesystem;
|
|
|
|
using stdfs::path;
|
|
using stdfs::copy_options;
|
|
using stdfs::file_status;
|
|
|
|
inline bool is_regular_file(file_status s) { return stdfs::is_regular_file(s); }
|
|
inline bool is_directory(file_status s) { return stdfs::is_directory(s); }
|
|
inline bool status_known(file_status s) { return stdfs::status_known(s); }
|
|
} |