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

Method Validate

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

Source from the content-addressed store, hash-verified

493 }
494
495 static Status Validate(const S3Path& path) {
496 auto st = internal::ValidateAbstractPath(path.full_path);
497 if (!st.ok()) {
498 return Status::Invalid(st.message(), " in path ", path.full_path);
499 }
500 return Status::OK();
501 }
502
503 Aws::String ToAwsString() const {
504 Aws::String res(bucket.begin(), bucket.end());

Callers

nothing calls this directly

Calls 4

ValidateAbstractPathFunction · 0.85
InvalidFunction · 0.50
OKFunction · 0.50
okMethod · 0.45

Tested by

no test coverage detected