| 614 | } |
| 615 | |
| 616 | Status OSSFileSystem::FileExists(const std::string& fname) { |
| 617 | FileStatistics stat; |
| 618 | if (Stat(fname, &stat).ok()) { |
| 619 | return Status::OK(); |
| 620 | } else { |
| 621 | return errors::NotFound(fname, " does not exists"); |
| 622 | } |
| 623 | } |
| 624 | |
| 625 | // For GetChildren , we should not return prefix |
| 626 | Status OSSFileSystem::_ListObjects( |