| 200 | } |
| 201 | |
| 202 | Status ValidatePath(std::string_view s) { |
| 203 | if (s.find_first_of('\0') != std::string::npos) { |
| 204 | return Status::Invalid("Embedded NUL char in path: '", s, "'"); |
| 205 | } |
| 206 | return Status::OK(); |
| 207 | } |
| 208 | |
| 209 | } // namespace |
| 210 |
no test coverage detected