|
| 1 | +<?php |
| 2 | + |
| 3 | +/** |
| 4 | + * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors |
| 5 | + * SPDX-License-Identifier: AGPL-3.0-only |
| 6 | + */ |
| 7 | + |
| 8 | +namespace OC\Files\Cache { |
| 9 | + use OCP\Files\Cache\ICache; |
| 10 | + use OCP\Files\Cache\ICacheEntry; |
| 11 | + use OCP\Files\IMimeTypeLoader; |
| 12 | + use OCP\Files\Search\ISearchOperator; |
| 13 | + use OCP\Files\Search\ISearchQuery; |
| 14 | + |
| 15 | + class Cache implements ICache { |
| 16 | + /** |
| 17 | + * @param \OCP\Files\Cache\ICache $cache |
| 18 | + */ |
| 19 | + public function __construct($cache) { |
| 20 | + $this->cache = $cache; |
| 21 | + } |
| 22 | + public function getNumericStorageId() { |
| 23 | + } |
| 24 | + public function getIncomplete() { |
| 25 | + } |
| 26 | + public function getPathById($id) { |
| 27 | + } |
| 28 | + public function getAll() { |
| 29 | + } |
| 30 | + public function get($file) { |
| 31 | + } |
| 32 | + public function getFolderContents($folder) { |
| 33 | + } |
| 34 | + public function getFolderContentsById($fileId) { |
| 35 | + } |
| 36 | + public function put($file, array $data) { |
| 37 | + } |
| 38 | + public function insert($file, array $data) { |
| 39 | + } |
| 40 | + public function update($id, array $data) { |
| 41 | + } |
| 42 | + public function getId($file) { |
| 43 | + } |
| 44 | + public function getParentId($file) { |
| 45 | + } |
| 46 | + public function inCache($file) { |
| 47 | + } |
| 48 | + public function remove($file) { |
| 49 | + } |
| 50 | + public function move($source, $target) { |
| 51 | + } |
| 52 | + public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) { |
| 53 | + } |
| 54 | + public function clear() { |
| 55 | + } |
| 56 | + public function getStatus($file) { |
| 57 | + } |
| 58 | + public function search($pattern) { |
| 59 | + } |
| 60 | + public function searchByMime($mimetype) { |
| 61 | + } |
| 62 | + public function searchQuery(ISearchQuery $query) { |
| 63 | + } |
| 64 | + public function correctFolderSize($path, $data = null, $isBackgroundScan = false) { |
| 65 | + } |
| 66 | + public function copyFromCache(ICache $sourceCache, ICacheEntry $sourceEntry, string $targetPath): int { |
| 67 | + } |
| 68 | + public function normalize($path) { |
| 69 | + } |
| 70 | + public function getQueryFilterForStorage(): ISearchOperator { |
| 71 | + } |
| 72 | + public function getCacheEntryFromSearchResult(ICacheEntry $rawEntry): ?ICacheEntry { |
| 73 | + } |
| 74 | + public static function cacheEntryFromData($data, IMimeTypeLoader $mimetypeLoader) { |
| 75 | + } |
| 76 | + } |
| 77 | +} |
0 commit comments