MCPcopy Create free account
hub / github.com/creatale/node-dv / CloseWrite

Method CloseWrite

deps/tesseract/ccutil/serialis.cpp:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123bool TFile::CloseWrite(const STRING& filename, FileWriter writer) {
124 ASSERT_HOST(is_writing_);
125 if (writer == NULL)
126 return SaveDataToFile(*data_, filename);
127 else
128 return (*writer)(*data_, filename);
129}
130
131int TFile::FWrite(const void* buffer, int size, int count) {
132 ASSERT_HOST(is_writing_);

Callers 1

SaveDocumentMethod · 0.80

Calls 1

SaveDataToFileFunction · 0.85

Tested by

no test coverage detected