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

Method EnsureDirectoryExists

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

Source from the content-addressed store, hash-verified

2998 }
2999
3000 Status EnsureDirectoryExists(const S3Path& path) {
3001 if (!path.key.empty()) {
3002 return CreateEmptyDir(path.bucket, path.key);
3003 }
3004 return Status::OK();
3005 }
3006
3007 Status EnsureParentExists(const S3Path& path) {
3008 if (path.has_parent()) {

Callers 1

Calls 2

OKFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected