| 66 | } |
| 67 | |
| 68 | void filepath::set_path(std::string_view s) { |
| 69 | if (!s.empty() && s[0] == '/') { |
| 70 | path = s.substr(1); |
| 71 | ino = 1; |
| 72 | } else { |
| 73 | ino = 0; |
| 74 | path = s; |
| 75 | } |
| 76 | bits.clear(); |
| 77 | } |
| 78 | |
| 79 | filepath filepath::prefixpath(int s) const { |
| 80 | filepath t(ino); |
no test coverage detected