| 314 | } |
| 315 | |
| 316 | Result<FileInfo> LocalFileSystem::GetFileInfo(const std::string& path) { |
| 317 | RETURN_NOT_OK(ValidatePath(path)); |
| 318 | ARROW_ASSIGN_OR_RAISE(auto fn, PlatformFilename::FromString(path)); |
| 319 | return StatFile(fn.ToNative()); |
| 320 | } |
| 321 | |
| 322 | Result<std::vector<FileInfo>> LocalFileSystem::GetFileInfo(const FileSelector& select) { |
| 323 | RETURN_NOT_OK(ValidatePath(select.base_dir)); |
nothing calls this directly
no test coverage detected