MCPcopy Create free account
hub / github.com/duckdb/duckdb / Sync

Method Sync

src/common/file_system.cpp:863–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863void FileHandle::Sync() {
864 file_system.FileSync(*this);
865}
866
867void FileHandle::Truncate(int64_t new_size) {
868 file_system.Truncate(*this, new_size);

Callers 15

mainFunction · 0.45
test_checksum.cppFile · 0.45
TestFileGuardMethod · 0.45
WriteContentMethod · 0.45
InitializeFileMethod · 0.45
AfterFlushMethod · 0.45
CreateNewDatabaseMethod · 0.45
WriteHeaderMethod · 0.45
FileSyncMethod · 0.45

Calls 1

FileSyncMethod · 0.45

Tested by 2

TestFileGuardMethod · 0.36
WriteContentMethod · 0.36