1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-18 23:07:45 +02:00

Revert "All: Add support for sync target lock"

This reverts commit 51235f191d.

Not ready yet, moving to a branch
This commit is contained in:
Laurent Cozic
2020-07-12 16:38:54 +01:00
parent a7eae2e033
commit e0a87d6253
16 changed files with 87 additions and 522 deletions

View File

@ -128,7 +128,6 @@ class FileApi {
if (!options) options = {};
if (!('includeHidden' in options)) options.includeHidden = false;
if (!('context' in options)) options.context = null;
if (!('includeDirs' in options)) options.includeDirs = true;
this.logger().debug(`list ${this.baseDir()}`);
@ -142,10 +141,6 @@ class FileApi {
result.items = temp;
}
if (!options.includeHidden) {
result.items = result.items.filter(f => !f.isDir);
}
return result;
}