MCPcopy Create free account
hub / github.com/bytedance/bolt / finish

Method finish

bolt/exec/SpillFile.cpp:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void SpillWriteFile::finish() {
156 BOLT_CHECK_NOT_NULL(file_);
157 if (spillUringEnabled_)
158 writeBuffers_->clear(file_);
159 size_ = file_->size();
160 file_->close();
161 file_ = nullptr;
162}
163
164uint64_t SpillWriteFile::size() const {
165 if (file_ != nullptr) {

Callers 1

closeFileMethod · 0.45

Calls 3

clearMethod · 0.45
sizeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected