flatten 20260225
This commit is contained in:
21
tjp/core/file/read.hpp
Normal file
21
tjp/core/file/read.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
// TJP COPYRIGHT HEADER
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Contents.h"
|
||||
#include <tjp/core/string/String.hpp>
|
||||
#include <tjp/core/containers/Optional.hpp>
|
||||
|
||||
namespace tjp::core::file {
|
||||
|
||||
Optional<Contents> read(const String &path);
|
||||
Contents require_read(const String &path);
|
||||
|
||||
Optional<Contents> read(const StringView &path);
|
||||
Contents require_read(const StringView &path);
|
||||
|
||||
} // namespace
|
||||
|
||||
#ifdef TJP_CORE_HEADER_ONLY
|
||||
#include "read.cpp"
|
||||
#endif
|
||||
Reference in New Issue
Block a user