MCPcopy Create free account
hub / github.com/apache/arrow / EnsureParentExists

Method EnsureParentExists

cpp/src/arrow/filesystem/s3fs.cc:3007–3012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3005 }
3006
3007 Status EnsureParentExists(const S3Path& path) {
3008 if (path.has_parent()) {
3009 return EnsureDirectoryExists(path.parent());
3010 }
3011 return Status::OK();
3012 }
3013
3014 static Result<std::vector<std::string>> ProcessListBuckets(
3015 const Aws::S3::Model::ListBucketsOutcome& outcome) {

Callers 3

DeleteDirMethod · 0.80
DeleteFileMethod · 0.80
MoveMethod · 0.80

Calls 3

OKFunction · 0.50
has_parentMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected