MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / create_path

Function create_path

components/filesystem/src/legacy.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void create_path(const std::string &root, const std::string &path)
98{
99 std::filesystem::path full_path = std::filesystem::path(root) / path;
100
101 if (!vkb::filesystem::get()->create_directory(full_path))
102 {
103 ERRORF("Failed to create directory: {}", full_path.string());
104 }
105}
106
107std::vector<uint8_t> read_asset(const std::string &filename)
108{

Callers 1

getFunction · 0.85

Calls 3

ERRORFFunction · 0.85
create_directoryMethod · 0.80
getFunction · 0.70

Tested by

no test coverage detected