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

Method append

bolt/exec/tests/utils/TempFilePath.h:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 TempFilePath& operator=(const TempFilePath&) = delete;
57
58 void append(std::string data) {
59 std::ofstream file(path, std::ios_base::app);
60 file << data;
61 file.flush();
62 file.close();
63 }
64
65 const int64_t fileSize() {
66 struct stat st;

Callers 15

TEST_FFunction · 0.45
toSerializedPageMethod · 0.45
appendSerializedInt32Function · 0.45
TEST_FFunction · 0.45
checkResultsMethod · 0.45
writeSpillDataMethod · 0.45
TEST_PFunction · 0.45
testMethod · 0.45
writeSpillDataMethod · 0.45
TEST_PFunction · 0.45

Calls 2

flushMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected