diff options
author | Robin Appelman <robin@icewind.nl> | 2023-04-21 14:18:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 14:18:05 +0200 |
commit | 1bff4e23bfcfec1ed034f9ea6a1f069cbe2f906d (patch) | |
tree | fd1253e223f9d9c6d88f7d5a7c3c4789cf3c1256 /apps | |
parent | 4cc588561502bb6c05f6851e164bbff046ff6ba1 (diff) | |
parent | c5dfa1cb797ea7fdb09f31963974edebb30742fe (diff) | |
download | nextcloud-server-1bff4e23bfcfec1ed034f9ea6a1f069cbe2f906d.tar.gz nextcloud-server-1bff4e23bfcfec1ed034f9ea6a1f069cbe2f906d.zip |
Merge pull request #37525 from nextcloud/file-debug-info
add command for getting fileinfo for debugging
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Config/ExternalMountPoint.php | 4 | ||||
-rw-r--r-- | apps/files_sharing/lib/SharedMount.php | 7 |
2 files changed, 11 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; + } } diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index 1e0b2d921e3..943f14dc2bd 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -254,6 +254,13 @@ class SharedMount extends MountPoint implements MoveableMount { } /** + * @return \OCP\Share\IShare[] + */ + public function getGroupedShares(): array { + return $this->groupedShares; + } + + /** * Get the file id of the root of the storage * * @return int |