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

Method NewWritableFile

tensorflow/core/platform/s3/s3_file_system.cc:335–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335Status S3FileSystem::NewWritableFile(const string& fname,
336 std::unique_ptr<WritableFile>* result) {
337 string bucket, object;
338 TF_RETURN_IF_ERROR(ParseS3Path(fname, false, &bucket, &object));
339 result->reset(new S3WritableFile(bucket, object, this->GetS3Client()));
340 return Status::OK();
341}
342
343Status S3FileSystem::NewAppendableFile(const string& fname,
344 std::unique_ptr<WritableFile>* result) {

Callers 2

WriteStringMethod · 0.45
TEST_FFunction · 0.45

Calls 3

GetS3ClientMethod · 0.95
ParseS3PathFunction · 0.85
resetMethod · 0.45

Tested by 2

WriteStringMethod · 0.36
TEST_FFunction · 0.36