diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-03-09 13:55:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 13:55:57 +0100 |
commit | 315510df8464a97656f614b6b4ba15a3fb11d337 (patch) | |
tree | 1e1c0513c82c6401b03937e55578b9982ea91189 /apps/dav/lib/Connector/Sabre | |
parent | 691aa8d0257e9361bbc5a64b09cd634435dbd40a (diff) | |
parent | d2a05716753cc9297fa38e88a43e39dec71f3b40 (diff) | |
download | nextcloud-server-315510df8464a97656f614b6b4ba15a3fb11d337.tar.gz nextcloud-server-315510df8464a97656f614b6b4ba15a3fb11d337.zip |
Merge pull request #27034 from nextcloud/enh/s3-multipart-upload-api
Use MultipartUpload for uploading chunks to s3
Diffstat (limited to 'apps/dav/lib/Connector/Sabre')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Directory.php | 1 | ||||
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Node.php | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php index 531ccff9d92..c29070fe921 100644 --- a/apps/dav/lib/Connector/Sabre/Directory.php +++ b/apps/dav/lib/Connector/Sabre/Directory.php @@ -38,6 +38,7 @@ use OC\Metadata\FileMetadata; use OCA\DAV\Connector\Sabre\Exception\FileLocked; use OCA\DAV\Connector\Sabre\Exception\Forbidden; use OCA\DAV\Connector\Sabre\Exception\InvalidPath; +use OCA\DAV\Upload\FutureFile; use OCP\Files\FileInfo; use OCP\Files\Folder; use OCP\Files\ForbiddenException; diff --git a/apps/dav/lib/Connector/Sabre/Node.php b/apps/dav/lib/Connector/Sabre/Node.php index ee159cef1d6..2c8d313eefd 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -261,6 +261,10 @@ abstract class Node implements \Sabre\DAV\INode { return $this->info->getId(); } + public function getInternalPath(): string { + return $this->info->getInternalPath(); + } + /** * @param string $user * @return int |