Renamed file_exists()->path_exists()

This commit is contained in:
gabime
2019-10-25 15:56:23 +03:00
parent c40555c0ac
commit dbe5c17a96
7 changed files with 10 additions and 23 deletions

View File

@@ -4,13 +4,13 @@
#include "includes.h"
using spdlog::details::os::create_dir;
using spdlog::details::os::file_exists;
using spdlog::details::os::path_exists;
bool try_create_dir(const char *path, const char *normalized_path)
{
auto rv = create_dir(path);
REQUIRE(rv == true);
return file_exists(normalized_path);
return path_exists(normalized_path);
}
TEST_CASE("create_dir", "[create_dir]")