Files
core_misc/tjp/core/file/read.hpp
Timothy Prepscius fa54be052a flatten 20260225
2026-02-25 12:39:24 -05:00

22 lines
431 B
C++

// 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