Skip to content

Commit f512705

Browse files
authored
Merge pull request #26003 from nextcloud/enh/simplefile/getid
Add getID function to the simplefile implementation
2 parents 2a55a89 + cc2beee commit f512705

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)