VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
File.cpp File Reference
#include <VoltMod/Core/Files/File.hpp>
#include <VoltMod/Core/Files/Paths.hpp>
#include <filesystem>
#include <format>
#include <fstream>
#include <iterator>
#include <system_error>

Go to the source code of this file.

Namespaces

namespace  VoltMod
 

Functions

Result< std::string > VoltMod::ReadAllText (std::string_view path)
 Read path (resolved via ResolvePath) into a string.
 
Status VoltMod::WriteAllText (std::string_view path, std::string_view text)
 Write text to path (resolved via ResolvePath), creating its directory.