diff options
Diffstat (limited to 'lib/private/Files/Node/File.php')
-rw-r--r-- | lib/private/Files/Node/File.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/Node/File.php b/lib/private/Files/Node/File.php index 7c411620ca0..a3eabbcc446 100644 --- a/lib/private/Files/Node/File.php +++ b/lib/private/Files/Node/File.php @@ -142,4 +142,8 @@ class File extends Node implements \OCP\Files\File { public function getChecksum() { return $this->getFileInfo()->getChecksum(); } + + public function getExtension(): string { + return $this->getFileInfo()->getExtension(); + } } |