| 163 | } |
| 164 | |
| 165 | Status EventsWriter::FileStillExists() { |
| 166 | if (env_->FileExists(filename_).ok()) { |
| 167 | return Status::OK(); |
| 168 | } |
| 169 | // This can happen even with non-null recordio_writer_ if some other |
| 170 | // process has removed the file. |
| 171 | return errors::Unknown("The events file ", filename_, " has disappeared."); |
| 172 | } |
| 173 | |
| 174 | } // namespace tensorflow |
nothing calls this directly
no test coverage detected