MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / createFile

Function createFile

src/Core/Utils/FileUtils.cpp:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 void createFile(const std::string& path)
141 {
142 Debug::Log->trace("<FileUtils> Create File at {0}", path);
143 std::ofstream dst(path, std::ios::binary);
144 dst.close();
145 }
146
147 void copy(const std::string& source, const std::string& target)
148 {

Callers

nothing calls this directly

Calls 2

traceMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected