@sqlrooms/s3-browser / listFilesAndDirectoriesWithPrefix
Function: listFilesAndDirectoriesWithPrefix()
listFilesAndDirectoriesWithPrefix(
S3
,bucket
,prefix
?):Promise
<({key
:string
;isDirectory
:true
; } | {key
:string
;isDirectory
:false
;lastModified
:Date
;size
:number
;contentType
:string
; })[]>
Parameters
Parameter | Type |
---|---|
S3 | S3Client |
bucket | string |
prefix ? | string |
Returns
Promise
<({ key
: string
; isDirectory
: true
; } | { key
: string
; isDirectory
: false
; lastModified
: Date
; size
: number
; contentType
: string
; })[]>