mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Base/default implementation of revealFileAsync
This commit is contained in:
parent
8750568522
commit
5c0d546d88
@ -52,4 +52,14 @@ export class StorageInterface {
|
||||
// Default implementation does not allow deleting files
|
||||
return Promise.reject();
|
||||
}
|
||||
|
||||
/**
|
||||
* Reveals a file in the file manager
|
||||
* @param {string} filename
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
revealFileAsync(filename) {
|
||||
// Default implementation does not allow revealing files
|
||||
return Promise.reject();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user