MCPcopy Create free account
hub / github.com/Illation/ETEngine / Write

Method Write

Engine/source/EtCore/FileSystem/Entry.cpp:202–210  ·  view source on GitHub ↗

--------------------------------- File::Write Write to the file

Source from the content-addressed store, hash-verified

200// Write to the file
201//
202bool File::Write(const std::vector<uint8> &lhs)
203{
204 if ( !FILE_BASE::WriteFile(m_Handle, lhs) )
205 {
206 LOG("Writing File failed", Error);
207 return false;
208 }
209 return true;
210}
211
212//---------------------------------
213// File::Close

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected