blob_delete_by_prefix
Script
v4
Fork
1
2
3
4
5
import
{
blob
}
from
"https://esm.town/v/std/blob?v=11"
;
export
async
function
deleteBlobs
(
prefix
:
string
)
{
(
await
blob
.
list
(
prefix
)
)
.
forEach
(
(
{
key
}
)
=>
blob
.
delete
(
key
)
)
;
}