MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Close

Method Close

tensorflow/core/platform/cloud/gcs_file_system.cc:465–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463 }
464
465 Status Close() override {
466 if (outfile_.is_open()) {
467 TF_RETURN_IF_ERROR(Sync());
468 outfile_.close();
469 std::remove(tmp_content_filename_.c_str());
470 }
471 return Status::OK();
472 }
473
474 Status Flush() override { return Sync(); }
475

Callers 2

CreateDirMethod · 0.45
TESTFunction · 0.45

Calls 2

c_strMethod · 0.80
closeMethod · 0.65

Tested by 1

TESTFunction · 0.36