Skip to content

Commit d689903

Browse files
committed
fix: keep IObjectStoreMetaData in private namespace for backports
Signed-off-by: Robin Appelman <[email protected]>
1 parent 9868424 commit d689903

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

apps/files/lib/Command/Object/Info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
namespace OCA\Files\Command\Object;
1010

1111
use OC\Core\Command\Base;
12+
use OC\Files\ObjectStore\IObjectStoreMetaData;
1213
use OCP\Files\IMimeTypeDetector;
13-
use OCP\Files\ObjectStore\IObjectStoreMetaData;
1414
use OCP\Util;
1515
use Symfony\Component\Console\Input\InputArgument;
1616
use Symfony\Component\Console\Input\InputInterface;

apps/files/lib/Command/Object/ListObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace OCA\Files\Command\Object;
1010

1111
use OC\Core\Command\Base;
12-
use OCP\Files\ObjectStore\IObjectStoreMetaData;
12+
use OC\Files\ObjectStore\IObjectStoreMetaData;
1313
use Symfony\Component\Console\Input\InputInterface;
1414
use Symfony\Component\Console\Input\InputOption;
1515
use Symfony\Component\Console\Output\OutputInterface;

apps/files/lib/Command/Object/Orphans.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
namespace OCA\Files\Command\Object;
1010

1111
use OC\Core\Command\Base;
12+
use OC\Files\ObjectStore\IObjectStoreMetaData;
1213
use OCP\DB\QueryBuilder\IQueryBuilder;
13-
use OCP\Files\ObjectStore\IObjectStoreMetaData;
1414
use OCP\IDBConnection;
1515
use Symfony\Component\Console\Input\InputInterface;
1616
use Symfony\Component\Console\Input\InputOption;

lib/public/Files/ObjectStore/IObjectStoreMetaData.php renamed to lib/private/Files/ObjectStore/IObjectStoreMetaData.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
55
* SPDX-License-Identifier: AGPL-3.0-only
66
*/
7-
namespace OCP\Files\ObjectStore;
7+
namespace OC\Files\ObjectStore;
88

99
/**
1010
* Interface IObjectStoreMetaData
1111
*
1212
* @psalm-type ObjectMetaData = array{mtime?: \DateTime, etag?: string, size?: int, mimetype?: string, filename?: string}
13-
*
14-
* @since 32.0.0
1513
*/
1614
interface IObjectStoreMetaData {
1715
/**

lib/private/Files/ObjectStore/S3.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Aws\Result;
1010
use Exception;
1111
use OCP\Files\ObjectStore\IObjectStore;
12-
use OCP\Files\ObjectStore\IObjectStoreMetaData;
1312
use OCP\Files\ObjectStore\IObjectStoreMultiPartUpload;
1413

1514
class S3 implements IObjectStore, IObjectStoreMultiPartUpload, IObjectStoreMetaData {

0 commit comments

Comments
 (0)