summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Storage.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-241-30/+5
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Fix file_get_content signatures to make it clear it can return falseCôme Chilliet2023-04-271-1/+1
| | | | | | | In File::getContent, which must return a string, throw an Exception instead of returning false. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* More type cleanup in View and FileInfoCôme Chilliet2023-04-031-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix return type of methods returning false on errorCôme Chilliet2023-04-031-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Make it clear that file sizes may be float on 32bitsCôme Chilliet2023-04-011-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move back typing to phpdoc to keep backward compatibility in OCPCôme Chilliet2023-02-071-1/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Strong type filesize related methods to ease 32bits problem findingsCôme Chilliet2023-02-071-4/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* ci: migrate ocp since checker to psalmDaniel Kesselberg2023-01-241-0/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix link to documentation of php functionbbx-github2023-01-031-1/+1
| | | Signed-off-by: bbx-github <53237674+bbx-github@users.noreply.github.com>
* Rename file1 and file2 to source and target in Storage abstractionCarl Schwan2022-10-181-6/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* teach psalm about `Storage::instanceOfStorage`Robin Appelman2021-12-021-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-6/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headersChristoph Wurst2020-12-301-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump icewind/streams from 0.7.1 to 0.7.2Christoph Wurst2020-12-291-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-221-19/+19
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-171-19/+19
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Merge pull request #24594 from kofemann/dcacheJulius Härtl2020-12-221-2/+2
|\ \
| * | storage: update IStorage#file_put_contents docs to match usageTigran Mkrtchyan2020-12-211-2/+2
| |/ | | | | | | | | | | | | The current phpdoc of IStorage#file_put_contents doesnt corresponds to it's actual usage in code, e.g. Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
* / Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace wrong PHPDocsLukas Reschke2017-08-011-4/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #3600 from coletivoEITA/masterRoeland Jago Douma2017-03-141-0/+2
|\ | | | | added method needsPartFile() in Storage
| * added method needsPartFile() in StorageVinicius Cubas Brand2017-03-141-0/+2
| | | | | | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* | Add missing PHPDoc and properly throw exceptionMorris Jobke2017-02-131-0/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Move \OCP\Files to PSR-4Roeland Jago Douma2016-05-181-0/+459