diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-09-15 15:38:25 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-09-16 18:11:36 +0200 |
commit | 22822d5e9b29e7c49a524bf2e6e60291c244ff09 (patch) | |
tree | d432b60533411d9159dfce0dfd1be94c9d9f5825 /lib/public/Files | |
parent | 801733e5232620932dca14452b3b84dbdad14ed7 (diff) | |
download | nextcloud-server-22822d5e9b29e7c49a524bf2e6e60291c244ff09.tar.gz nextcloud-server-22822d5e9b29e7c49a524bf2e6e60291c244ff09.zip |
fix: Fix other uses of removed Storage interface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/Storage/IStorage.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php index e18d6768346..90767005239 100644 --- a/lib/public/Files/Storage/IStorage.php +++ b/lib/public/Files/Storage/IStorage.php @@ -280,6 +280,15 @@ interface IStorage { public function free_space($path); /** + * search for occurrences of $query in file names + * + * @param string $query + * @return array|bool + * @since 6.0.0 + */ + public function search($query); + + /** * see https://www.php.net/manual/en/function.touch.php * If the backend does not support the operation, false should be returned * @@ -405,6 +414,12 @@ interface IStorage { public function setAvailability($isAvailable); /** + * @since 12.0.0 + * @return mixed + */ + public function needsPartFile(); + + /** * @param string $path path for which to retrieve the owner * @since 9.0.0 */ |