Add range header support to files.get (#6950)
This commit is contained in:
@@ -32,7 +32,8 @@ export default abstract class BaseStorage {
|
||||
* @param key The path to the file
|
||||
*/
|
||||
public abstract getFileStream(
|
||||
key: string
|
||||
key: string,
|
||||
range?: { start?: number; end?: number }
|
||||
): Promise<NodeJS.ReadableStream | null>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user