Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add getID function to the simplefile implementation
Sometimes it is useful to get the actual fileid

Signed-off-by: Roeland Jago Douma <[email protected]>
  • Loading branch information
rullzer authored and backportbot[bot] committed Mar 15, 2021
commit 7d78c5c59c691e83cf5a4bd4cfab553e80452bb7
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();
}
}