MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / sync

Method sync

source/core/StarFile.cpp:216–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void File::sync() {
217 if (!m_file)
218 throw IOException("sync called on closed File");
219
220 fsync(m_file);
221}
222
223void File::open(IOMode m) {
224 close();

Callers 3

writeRootMethod · 0.45
commitWritesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected