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

Method CannedACLSetter

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

Source from the content-addressed store, hash-verified

1404 }
1405
1406 static Setter CannedACLSetter() {
1407 return [](const std::string& v, ObjectRequest* req) {
1408 ARROW_ASSIGN_OR_RAISE(auto acl, ParseACL(v));
1409 req->SetACL(acl);
1410 return Status::OK();
1411 };
1412 }
1413
1414 /** We need a special setter here and can not use `StringSetter` because for e.g. the
1415 * `PutObjectRequest`, the setter is located in the base class (instead of the concrete

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected