Double check before delete

This commit is contained in:
Andras Schmelczer 2025-01-19 13:00:07 +00:00
commit b4b4680422
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -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.