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

Method Validate

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

Source from the content-addressed store, hash-verified

553 }
554
555 static Status Validate(const S3Path& path) {
556 auto st = internal::ValidateAbstractPath(path.full_path);
557 if (!st.ok()) {
558 return Status::Invalid(st.message(), " in path ", path.full_path);
559 }
560 return Status::OK();
561 }
562
563 Aws::String ToAwsString() const {
564 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