MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / openFileForRead

Method openFileForRead

Engine/source/core/util/zip/zipObject.cpp:140–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138//-----------------------------------------------------------------------------
139
140StreamObject * ZipObject::openFileForRead(const char *filename)
141{
142 if(mZipArchive == NULL)
143 return NULL;
144
145 Stream * stream = mZipArchive->openFile(filename, Zip::ZipArchive::Read);
146 if(stream != NULL)
147 return createStreamObject(stream);
148
149 return NULL;
150}
151
152StreamObject * ZipObject::openFileForWrite(const char *filename)
153{

Callers 1

zipObject.cppFile · 0.45

Calls 1

openFileMethod · 0.45

Tested by

no test coverage detected