aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/Updater.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: Fix copying to the root of another mountpointfix/fix-copy-to-mountpoint-rootCôme Chilliet2024-12-171-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "fix: don't recalculate folder size in Cache::delete if the entry ↵ci/revert/47342Daniel Kesselberg2024-12-161-0/+3
| | | | | | | | didn't exist" This reverts commit 5ca9d884d78fd4439a74dde02fdcafb3ac7a40f4. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #47342 from nextcloud/cache-delete-notfound-sizeRobin Appelman2024-12-121-3/+0
|\ | | | | fix: don't recalculate folder size in Cache::delete if the entry didn't exist
| * fix: don't recalculate folder size in Cache::delete if the entry didn't existcache-delete-notfound-sizeRobin Appelman2024-08-201-3/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #40394 from nextcloud/updater-change-mimetype-objectstoreJohn Molakvoæ2024-12-111-9/+13
|\ \
| * | fix: fix mimetype not being updated when changing file extention on object storeupdater-change-mimetype-objectstoreRobin Appelman2024-12-051-9/+13
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: only do cache copy in updater if the parent folder should be in cachecopy-update-cache-excludedRobin Appelman2024-12-061-1/+9
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(files): Correctly copy the cache information on copy operationsLouis Chemineau2024-12-031-9/+32
| | | | | | | | | | | | Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-2/+2
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-24/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* perf: Avoid updating the folder size if we know the size differenceJulius Härtl2024-01-121-12/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: execute throws docrine exceptions not our wrapped onesJulius Härtl2023-05-261-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* ignore errors while trying to update parent storage_mtimeRobin Appelman2023-04-201-1/+13
| | | | | | in the worst case this should only cause an extra rescan later Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix typos in lib/private subdirectoryluz paz2022-07-271-2/+2
| | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.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>
* dont update mimetype when moving to trashRobin Appelman2020-07-301-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix renameFromStorage messing with folder mimetypeRobin Appelman2020-07-231-7/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* dont try to update storage mtime if we can't get the mtimeRobin Appelman2020-03-021-6/+9
| | | | 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>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* optimized size propagation on deletesRobin Appelman2016-06-141-4/+14
|
* don't update storage mtime if we can't get the modified dateRobin Appelman2016-06-071-1/+4
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Merge branch 'master' of https://github.com/d--j/core into d--j-masterThomas Müller2016-04-251-4/+12
|
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-241-0/+228