summaryrefslogtreecommitdiff
path: root/src/util/file.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-10-01 21:55:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-10-01 21:55:21 +0200
commit0ac74d65f16aa7eb70669b07c25cb90114eb9435 (patch)
tree31cd86e358bc70e6d83955fdcc0d8e05fc32c325 /src/util/file.vala
parent0b99aa7b114b6c8eb0d55742c4be2f3a73f44e39 (diff)
parentf542481df58f3222143bc260feb34b5cf537d8e0 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/util/file.vala')
-rw-r--r--src/util/file.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/file.vala b/src/util/file.vala
index 32b7762..c1ee06d 100644
--- a/src/util/file.vala
+++ b/src/util/file.vala
@@ -159,7 +159,7 @@ public time_t query_file_modified(File file) throws Error {
}
public bool query_is_directory(File file) {
- return file.query_file_type(FileQueryInfoFlags.NOFOLLOW_SYMLINKS, null) == FileType.DIRECTORY;
+ return file.query_file_type(FileQueryInfoFlags.NONE, null) == FileType.DIRECTORY;
}
public bool query_is_directory_empty(File dir) throws Error {