Merge commit 'c42adc290cd8a27d01bb6d9877032dd2c963a4b7'
All checks were successful
Build / build (push) Successful in 4m22s

This commit is contained in:
2025-02-01 22:55:46 -06:00
35 changed files with 537 additions and 78 deletions

View File

@ -185,8 +185,7 @@ Error PassThroughFS::writeFileInode(uint64_t, const void*, uint64_t, FileType) n
}
std::string_view PassThroughFS::stripSlash(StringView path) noexcept {
const auto pathLen = ox::strlen(path);
for (auto i = 0u; i < pathLen && path[0] == '/'; i++) {
for (auto i = 0u; i < path.len() && path[0] == '/'; i++) {
path = substr(path, 1);
}
return {path.data(), path.bytes()};