summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-03-15 14:41:15 +0100
committerGitHub <noreply@github.com>2021-03-15 14:41:15 +0100
commitf512705f8f3ba7ff676b139bbfc00dcf6d277bd1 (patch)
tree8cbbe69a5a1813c0a4ddd02e11d4f563683bf316 /lib
parent2a55a892f0e0437531a8a1617eb99ec67b32dafe (diff)
parentcc2beee872fe17b6cc1769423920c73a01986f09 (diff)
downloadnextcloud-server-f512705f8f3ba7ff676b139bbfc00dcf6d277bd1.tar.gz
nextcloud-server-f512705f8f3ba7ff676b139bbfc00dcf6d277bd1.zip
Merge pull request #26003 from nextcloud/enh/simplefile/getid
Add getID function to the simplefile implementation
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/SimpleFS/SimpleFile.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/SimpleFS/SimpleFile.php b/lib/private/Files/SimpleFS/SimpleFile.php
index 108f53ee9c7..0d3cbc7b743 100644
--- a/lib/private/Files/SimpleFS/SimpleFile.php
+++ b/lib/private/Files/SimpleFS/SimpleFile.php
@@ -180,4 +180,8 @@ class SimpleFile implements ISimpleFile {
public function write() {
return $this->file->fopen('w');
}
+
+ public function getId(): int {
+ return $this->file->getId();
+ }
}