| 278 | namespace { |
| 279 | |
| 280 | Status ValidateSubPath(std::string_view s) { |
| 281 | if (internal::IsLikelyUri(s)) { |
| 282 | return Status::Invalid("Expected a filesystem path, got a URI: '", s, "'"); |
| 283 | } |
| 284 | return Status::OK(); |
| 285 | } |
| 286 | |
| 287 | } // namespace |
| 288 |
no test coverage detected