summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Utils/Scanner.php
Commit message (Collapse)AuthorAgeFilesLines
* Add visibility to all constantsChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 18Christoph Wurst2019-12-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add typed events for the filesystem/scannerChristoph Wurst2019-12-131-21/+35
| | | | 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-2/+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>
* Do scan the root storage in background scanRobin Appelman2018-07-241-5/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add option to only scan the home storageRobin Appelman2018-06-281-3/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: allow files:scan --shallowBlaok2018-05-181-2/+2
| | | | Signed-off-by: Yuze Chi <i@blaok.me>
* Use ::class statement instead of stringMorris Jobke2018-01-291-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix scanner after reviewVincent Petry2017-04-261-2/+3
|
* OCC scanner commit in batchesVincent Petry2017-04-261-6/+38
|
* check for existence before we start the db transactionRobin Appelman2017-04-201-3/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add PHPDoc and handle exception in ScanAppData as wellMorris Jobke2017-04-191-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* show error when trying to scan non existing pathRobin Appelman2017-04-191-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Skip FailedStorage in background scanVincent Petry2017-03-171-0/+12
| | | | | | | | The background job that scans storages must skip failed storages to avoid potential exceptions, especially when the failed storage comes from a shared storage where the source is not accessible. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Only check for local shared storagesRoeland Jago Douma2017-01-101-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Skip local shares in bkg scan and occ files:scan (#26590)Vincent Petry2017-01-101-5/+15
| | | | | Local shares should only be scanned when doing it for the owner to avoid repeatedly rescanning the same shared storage over and over again for every recipient.
* Store the shared propagator instanceVincent Petry2016-08-101-4/+6
| | | | This instead of recreating it for every call.
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Merge pull request #24863 from owncloud/propagator-batchingVincent Petry2016-06-101-0/+4
|\ | | | | Propagator batching for the file scanner
| * use propagator batching in the scannerRobin Appelman2016-06-021-0/+4
| |
* | skip scanning for a user when the user is not setup yetRobin Appelman2016-06-081-1/+6
|/
* trigger size calculation after scanning (#24875)Robin Appelman2016-05-301-0/+6
|
* Trigger propagation from the background scannerRobin Appelman2016-05-181-1/+13
|
* triger the propagator from the command line scannerRobin Appelman2016-04-251-0/+16
|
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-241-0/+172