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

Method openFileForRead

bolt/common/file/FileSystems.cpp:166–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 std::unique_ptr<ReadFile> openFileForRead(
167 std::string_view path,
168 const FileOptions& /*unused*/) override {
169 return std::make_unique<LocalReadFile>(extractPath(path), executor_.get());
170 }
171
172 std::unique_ptr<WriteFile> openFileForWrite(
173 std::string_view path,

Callers 15

loadFileMethod · 0.45
SpillReadFileBaseMethod · 0.45
getInputStreamMethod · 0.45
getSplitInputStreamMethod · 0.45
getTaskMetadataFunction · 0.45
spillStateTestMethod · 0.45
printStatsMethod · 0.45
testSortedSpillMethod · 0.45
printStatsMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 11

spillStateTestMethod · 0.36
printStatsMethod · 0.36
testSortedSpillMethod · 0.36
printStatsMethod · 0.36
readFileSchemaMethod · 0.36
createStreamMethod · 0.36
TESTFunction · 0.36
createStreamMethod · 0.36
TEST_FFunction · 0.36