+2
-2
@@ -31,8 +31,8 @@ Error PassThroughFS::mkdir(StringViewCR path, bool recursive) noexcept {
|
|||||||
auto const cleanPath =
|
auto const cleanPath =
|
||||||
endsWith(path, '/') ? substr(path, 0, path.size() - 1) : path;
|
endsWith(path, '/') ? substr(path, 0, path.size() - 1) : path;
|
||||||
bool success = false;
|
bool success = false;
|
||||||
auto p = cleanPath.size() ? m_path / stripSlash(cleanPath) : m_path;
|
auto const p = cleanPath.size() ? m_path / stripSlash(cleanPath) : m_path;
|
||||||
const auto u8p = p.u8string();
|
auto const u8p = p.u8string();
|
||||||
oxTrace("ox.fs.PassThroughFS.mkdir", std::bit_cast<const char*>(u8p.c_str()));
|
oxTrace("ox.fs.PassThroughFS.mkdir", std::bit_cast<const char*>(u8p.c_str()));
|
||||||
if (recursive) {
|
if (recursive) {
|
||||||
std::error_code ec;
|
std::error_code ec;
|
||||||
|
|||||||
Reference in New Issue
Block a user