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

Function saveVectorToFile

bolt/vector/VectorSaver.cpp:645–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645void saveVectorToFile(
646 const BaseVector* FOLLY_NONNULL vector,
647 const char* FOLLY_NONNULL filePath) {
648 std::ofstream outputFile(filePath, std::ofstream::binary);
649 saveVector(*vector, outputFile);
650 outputFile.close();
651}
652
653void saveStringToFile(
654 const std::string& content,

Callers 5

persistDataAndSqlMethod · 0.85
printInputAndExprsFunction · 0.85
saveResultsFunction · 0.85
TEST_FFunction · 0.85
persistReproInfoMethod · 0.85

Calls 2

saveVectorFunction · 0.85
closeMethod · 0.45

Tested by 3

saveResultsFunction · 0.68
TEST_FFunction · 0.68
persistReproInfoMethod · 0.68