MCPcopy Create free account
hub / github.com/aardappel/lobster / OpenForWriting

Function OpenForWriting

dev/src/platform.cpp:391–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391FILE *OpenForWriting(string_view filename, bool binary, bool allow_absolute) {
392 auto f = OpenFor(filename, binary ? "wb" : "w", allow_absolute);
393 LOG_DEBUG("write: ", filename);
394 return f;
395}
396
397FILE *OpenForReading(string_view filename, bool binary, bool allow_absolute) {
398 auto f = OpenFor(filename, binary ? "rb" : "r", allow_absolute);

Callers 4

WriteFileFunction · 0.85
CompileGLSLShaderFunction · 0.85
AddCubeGenFunction · 0.85
unit_test_wasmFunction · 0.85

Calls 1

OpenForFunction · 0.85

Tested by

no test coverage detected