Skip to content

Commit 2982fa3

Browse files
authored
Merge pull request #26181 from nextcloud/backport/26003/stable20
[stable20] Add getID function to the simplefile implementation
2 parents fe3b3a9 + 147134f commit 2982fa3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/private/Files/SimpleFS/SimpleFile.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,8 @@ public function read() {
180180
public function write() {
181181
return $this->file->fopen('w');
182182
}
183+
184+
public function getId(): int {
185+
return $this->file->getId();
186+
}
183187
}

0 commit comments

Comments
 (0)