Browse Source

Merge pull request #26003 from nextcloud/enh/simplefile/getid

Add getID function to the simplefile implementation
tags/v22.0.0beta1
Morris Jobke 3 years ago
parent
commit
f512705f8f
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      lib/private/Files/SimpleFS/SimpleFile.php

+ 4
- 0
lib/private/Files/SimpleFS/SimpleFile.php View File

@@ -180,4 +180,8 @@ class SimpleFile implements ISimpleFile {
public function write() {
return $this->file->fopen('w');
}

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

Loading…
Cancel
Save