Double check before delete
This commit is contained in:
parent
6e9558f13e
commit
b4b4680422
1 changed files with 15 additions and 1 deletions
|
|
@ -7,6 +7,8 @@ export interface FileOperations {
|
|||
|
||||
getFileSize: (path: RelativePath) => Promise<number>;
|
||||
|
||||
exists: (path: RelativePath) => Promise<boolean>;
|
||||
|
||||
getModificationTime: (path: RelativePath) => Promise<Date>;
|
||||
|
||||
// Create and write the file if it doesn't exist. Otherwise, it has the same behavior as write.
|
||||
|
|
|
|||
Loading…
Reference in a new issue