summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-03-31 18:58:59 +0200
committerRobin Appelman <robin@icewind.nl>2023-04-17 16:23:52 +0200
commit60cf0c8f5fc5d61f926765f95ff40625349ec787 (patch)
tree6578bb5416c5c7709100a5c06ed1774d3bf80fe3 /apps/files_external
parente63720b7140d15cd4c0b080c57c226d9a2dda8a6 (diff)
downloadnextcloud-server-60cf0c8f5fc5d61f926765f95ff40625349ec787.tar.gz
nextcloud-server-60cf0c8f5fc5d61f926765f95ff40625349ec787.zip
add command for getting fileinfo for debugging
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Config/ExternalMountPoint.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/lib/Config/ExternalMountPoint.php b/apps/files_external/lib/Config/ExternalMountPoint.php
index 090e1c77cdf..07475f961f9 100644
--- a/apps/files_external/lib/Config/ExternalMountPoint.php
+++ b/apps/files_external/lib/Config/ExternalMountPoint.php
@@ -40,4 +40,8 @@ class ExternalMountPoint extends MountPoint {
public function getMountType() {
return ($this->storageConfig->getAuthMechanism() instanceof SessionCredentials) ? 'external-session' : 'external';
}
+
+ public function getStorageConfig(): StorageConfig {
+ return $this->storageConfig;
+ }
}