| 83 | } |
| 84 | |
| 85 | void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) { |
| 86 | auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); |
| 87 | TF_SetStatus(status, TF_OK, ""); |
| 88 | ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Sync()); |
| 89 | } |
| 90 | |
| 91 | void TF_FlushWritableFile(TF_WritableFileHandle* handle, TF_Status* status) { |
| 92 | auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); |
nothing calls this directly
no test coverage detected