aboutsummaryrefslogtreecommitdiff
path: root/lib/filesystem/FileType.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystem/FileType.php')
-rw-r--r--lib/filesystem/FileType.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/filesystem/FileType.php b/lib/filesystem/FileType.php
index 003ee85..5a53896 100644
--- a/lib/filesystem/FileType.php
+++ b/lib/filesystem/FileType.php
@@ -35,13 +35,17 @@ interface FileType
*/
public function getUserName();
+ /**
+ * Returns if a file is accessible or not.
+ * @return bool
+ */
+ public function getAccessibility(): bool;
/**
* @returns The User object representing the author.
*/
public function getUser();
-
/**
* Returns the size of the file in bytes. If this is null, the file doesn't exist
* physically - is probably only a weblink or a request for libraries.