A FileStorage that is backed by an R2 bucket.
FileStorage
The R2Bucket bindings to use
Protected
Returns the file with the given key, or null if no such key exists.
null
Returns true if a file with the given key exists, false otherwise.
true
false
Removes the file with the given key from storage.
Puts a file in storage at the given key.
A
FileStorage
that is backed by an R2 bucket.