mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 03:58:02 -05:00
MediaBackendInterface: Remove getFileURL
closes #957 Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
8326fb6aaa
commit
d83e0004b7
1 changed files with 0 additions and 8 deletions
|
@ -16,14 +16,6 @@ export interface MediaBackend {
|
|||
*/
|
||||
saveFile(buffer: Buffer, fileName: string): Promise<[string, BackendData]>;
|
||||
|
||||
/**
|
||||
* Retrieve the URL of a previously saved file.
|
||||
* @param fileName String to identify the file
|
||||
* @param backendData Internal backend data
|
||||
* @throws {MediaBackendError} - there was an error deleting the file
|
||||
*/
|
||||
getFileURL(fileName: string, backendData: BackendData): Promise<string>;
|
||||
|
||||
/**
|
||||
* Delete a file from the backend
|
||||
* @param fileName String to identify the file
|
||||
|
|
Loading…
Reference in a new issue