createObjectDir()
createObjectDir(\OssClient $ossClient, string $bucket) : null
Create a 'virtual' folder
Parameters
\OssClient | $ossClient | OssClient instance |
string | $bucket | bucket name |
listObjects(\OssClient $ossClient, string $bucket) : null
Lists all files and folders in the bucket.
Note if there's more items than the max-keys specified, the caller needs to use the nextMarker returned as the value for the next call's maker paramter. Loop through all the items returned from ListObjects.
\OssClient | $ossClient | OssClient instance |
string | $bucket | bucket name |
modifyMetaForObject(\OssClient $ossClient, string $bucket) : null
Update Object Meta it leverages the feature of copyObject: when the source object is just the target object, the metadata could be updated via copy
\OssClient | $ossClient | OssClient instance |
string | $bucket | bucket name |