| 98 | } |
| 99 | |
| 100 | void filepath::push_dentry(std::string_view s) { |
| 101 | if (bits.empty() && path.length() > 0) |
| 102 | parse_bits(); |
| 103 | if (!bits.empty()) |
| 104 | path += "/"; |
| 105 | path += s; |
| 106 | bits.emplace_back(s); |
| 107 | } |
| 108 | |
| 109 | void filepath::push_front_dentry(const std::string& s) { |
| 110 | bits.insert(bits.begin(), s); |
no test coverage detected