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

Method remove

components/filesystem/src/std_filesystem.cpp:131–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void StdFileSystem::remove(const Path &path)
132{
133 std::error_code ec;
134
135 std::filesystem::remove_all(path, ec);
136
137 if (ec)
138 {
139 throw std::runtime_error("Failed to remove file at path: " + path.string());
140 }
141}
142
143void StdFileSystem::set_external_storage_directory(const std::string &dir)
144{

Callers 1

generateTagTextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected