Class StorageDriver<C, D>Abstract Methods alive alive ( ) : Promise < void > Returns Promise < void > append append ( location , content ) : Promise < Response > Parameters location : string content : string | Buffer Returns Promise < Response > exists exists ( location ) : Promise < boolean > Returns Promise < boolean > get get ( location , encoding ? ) : Promise < string > Parameters location : string Optional encoding : string Returns Promise < string > get Buffer get Buffer ( location ) : Promise < Buffer > Returns Promise < Buffer > get Stream get Stream ( location ) : Promise < ReadableStream > Returns Promise < ReadableStream > get Url get Url ( location ) : string Returns string list Files Recursive list Files Recursive ( prefix ? ) : AsyncIterable < string > Returns AsyncIterable < string > prepend prepend ( location , content ) : Promise < Response > Parameters location : string content : string | Buffer Returns Promise < Response > put put ( location , content ) : Promise < Response > Parameters location : string content : string | Buffer | ReadableStream Returns Promise < Response >
Checks if the driver is alive or throw an exception.