aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Node/NonExistingFolder.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: Do not fail to get internal path on NonExistingFile/NonExistingFolderJulius Härtl2024-08-291-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-20/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: add interface to get only a single node by id instead of all nodes for ↵Robin Appelman2024-03-041-0/+4
| | | | | | | | the id this should be enough in most(?) cases and makes efficient implementation and caching easier Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(node): non-existing folder is not searchableArthur Schiwon2023-07-131-0/+4
| | | | | | | the previosuly introduced searchBySystemTag was not overwritten in NonExistingFolder and could run the inherited method. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix inherited parameter namesjld31032023-04-031-3/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Type sizes as int|float throughout the code baseCôme Chilliet2023-02-071-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Create SimpleFile only when writing the contentRobin Appelman2020-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | instead of first creating an empty file and then writing the content. This solves the overhead of creating an empty file with the common pattern: ```php $file = $simpleFilder->newFile('foo.txt'); $file->putContent('bar.txt'); ``` roughly halving the number of storage and database operations that need to be done when creating a `SimpleFile`. This is not automatically done with `File` because that has a more complex api which I'm more hesitant to touch. Instead the `Folder::newFile` api has been extended to accept the content for the new file. In my local testing, the overhead of first creating an empty file took about 20% of the time for preview generation Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add option to get raw size (without submounts) from fileinfoRobin Appelman2019-02-271-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-241-0/+172