| 341 | } |
| 342 | |
| 343 | Status SubTreeFileSystem::FixInfo(FileInfo* info) const { |
| 344 | ARROW_ASSIGN_OR_RAISE(auto fixed_path, StripBase(info->path())); |
| 345 | info->set_path(std::move(fixed_path)); |
| 346 | return Status::OK(); |
| 347 | } |
| 348 | |
| 349 | Result<std::string> SubTreeFileSystem::NormalizePath(std::string path) { |
| 350 | ARROW_ASSIGN_OR_RAISE(auto real_path, PrependBase(path)); |
no test coverage detected