| 321 | } |
| 322 | |
| 323 | Result<std::string> SubTreeFileSystem::PrependBaseNonEmpty(const std::string& s) const { |
| 324 | RETURN_NOT_OK(ValidateSubPath(s)); |
| 325 | if (s.empty()) { |
| 326 | return Status::IOError("Empty path"); |
| 327 | } else { |
| 328 | return ConcatAbstractPath(base_path_, s); |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | Result<std::string> SubTreeFileSystem::StripBase(const std::string& s) const { |
| 333 | auto len = base_path_.length(); |
nothing calls this directly
no test coverage detected