Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
216
void File::sync() {
217
if (!m_file)
218
throw IOException(
"sync called on closed File"
);
219
220
fsync(m_file);
221
}
222
223
void File::open(IOMode m) {
224
close();
Callers
3
writeRoot
Method · 0.45
commitWrites
Method · 0.45
overwriteFileWithRename
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected