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

Method mkdir

bolt/common/file/FileSystems.cpp:252–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250 }
251
252 void mkdir(std::string_view path) override {
253 std::error_code ec;
254 std::filesystem::create_directories(path, ec);
255 BOLT_CHECK_EQ(
256 0,
257 ec.value(),
258 "Mkdir {} failed: {}, message: {}",
259 std::string(path),
260 ec.value(),
261 ec.message());
262 VLOG(1) << "LocalFileSystem::mkdir " << path;
263 }
264
265 void rmdir(std::string_view path) override {
266 std::error_code ec;

Callers 7

Task.cppFile · 0.45
createTraceDirectoryFunction · 0.45
TEST_FFunction · 0.45
setUpMethod · 0.45
TaskCursorBaseMethod · 0.45
TESTFunction · 0.45
SsdCacheMethod · 0.45

Calls 2

messageMethod · 0.80
valueMethod · 0.45

Tested by 4

TEST_FFunction · 0.36
setUpMethod · 0.36
TaskCursorBaseMethod · 0.36
TESTFunction · 0.36