Skip to content

TagSpaces is an offline, open source, document manager with tagging support

skip not implemented S3 functions

Stanimir Marinov5275b80ab895
diff --git a/app/services/platform-io.js b/app/services/platform-io.js
index 5c69abb4b..d18812960 100644
--- a/app/services/platform-io.js
+++ b/app/services/platform-io.js
@@ -164,9 +164,9 @@ export default class PlatformIO {
dirPath: string,
newDirName: string
): Promise<any> => {
- if (objectStoreAPI) {
+ /* if (objectStoreAPI) {
return objectStoreAPI.renameDirectoryPromise(dirPath, newDirName);
- }
+ } */
nativeAPI.renameDirectoryPromise(dirPath, newDirName);
};
@@ -234,9 +234,9 @@ export default class PlatformIO {
path: string,
useTrash?: boolean
): Promise<any> => {
- if (objectStoreAPI) {
+ /* if (objectStoreAPI) {
return objectStoreAPI.deleteDirectoryPromise(path, useTrash);
- }
+ } */
nativeAPI.deleteDirectoryPromise(path, useTrash);
};