|
|
@@ -414,6 +414,16 @@ class CachedPerProjectEncryptedS3Persistor {
|
|
|
return await this.sendStream(bucketName, path, fs.createReadStream(fsPath))
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param {string} bucketName
|
|
|
+ * @param {string} path
|
|
|
+ * @return {Promise<number>}
|
|
|
+ */
|
|
|
+ async getObjectSize(bucketName, path) {
|
|
|
+ return await this.#parent.getObjectSize(bucketName, path)
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* @param {string} bucketName
|
|
|
* @param {string} path
|