MCPcopy Create free account
hub / github.com/apache/cloudberry / getPathForCurl

Method getPathForCurl

gpcontrib/gpcloud/src/s3url.cpp:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60string S3Url::getPathForCurl() const {
61 stringstream pathSs;
62
63 if (!this->getBucket().empty()) {
64 pathSs << "/" << this->getBucket();
65 }
66
67 pathSs << "/" << this->getPrefix();
68
69 return pathSs.str();
70}
71
72void S3Url::extractEncodedPrefix() {
73 size_t ibegin = find_Nth(this->sourceUrl, 3, "/");

Callers 9

TESTFunction · 0.80
getBucketResponseMethod · 0.80
fetchDataMethod · 0.80
checkCompressionTypeMethod · 0.80
checkKeyExistenceMethod · 0.80
getUploadIdMethod · 0.80
uploadPartOfDataMethod · 0.80
completeMultiPartMethod · 0.80
abortUploadMethod · 0.80

Calls 1

strMethod · 0.45

Tested by 1

TESTFunction · 0.64