Skip to content

Commit

Permalink
Merge pull request #26181 from nextcloud/backport/26003/stable20
Browse files Browse the repository at this point in the history
[stable20] Add getID function to the simplefile implementation
  • Loading branch information
MorrisJobke authored Mar 17, 2021
2 parents fe3b3a9 + 147134f commit 2982fa3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/Files/SimpleFS/SimpleFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,8 @@ public function read() {
public function write() {
return $this->file->fopen('w');
}

public function getId(): int {
return $this->file->getId();
}
}

0 comments on commit 2982fa3

Please sign in to comment.