Update src/index.ts
This commit is contained in:
parent
2d4ed1da90
commit
a6132572d4
@ -36,6 +36,7 @@ async function* listAll(bucket: R2Bucket, prefix: string, isRecursive: boolean =
|
|||||||
prefix,
|
prefix,
|
||||||
cursor,
|
cursor,
|
||||||
delimiter: isRecursive ? undefined : '/',
|
delimiter: isRecursive ? undefined : '/',
|
||||||
|
include: ['httpMetadata', 'customMetadata'],
|
||||||
});
|
});
|
||||||
for (const object of r2_objects.objects) {
|
for (const object of r2_objects.objects) {
|
||||||
yield object;
|
yield object;
|
||||||
|
Loading…
Reference in New Issue
Block a user