1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

LibCore: Move Core::Stream::File::exists() to Core::File

`Core::Stream::File` shouldn't hold any utility methods that are
unrelated to constructing a `Core::Stream`, so let's just replace the
existing `Core::File::exists` with the nicer looking implementation.
This commit is contained in:
Tim Schumacher 2022-12-07 21:34:00 +01:00 committed by Sam Atkins
parent bd272e638c
commit 2fc2025f49
10 changed files with 14 additions and 18 deletions

View file

@ -12,7 +12,7 @@
#include <LibTLS/TLSv12.h>
#include <LibTest/TestCase.h>
static char const* ca_certs_file = "./ca_certs.ini";
static StringView ca_certs_file = "./ca_certs.ini"sv;
static int port = 443;
constexpr auto DEFAULT_SERVER = "www.google.com"sv;