aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Mount
Commit message (Collapse)AuthorAgeFilesLines
* 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-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-056-7/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+2
| | | | | | | | | | | * 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>
* Store user object later in the codeVlastimil Pecinka2019-03-211-1/+2
| | | | Signed-off-by: Vlastimil Pecinka <pecinka@email.cz>
* cache OC\Files\Mount\Manager::findIn resultsRobin Appelman2018-08-161-2/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use more efficient method to find mountpoint for pathRobin Appelman2018-08-161-18/+15
| | | | | | | this changes the complexity from the number of mounts to the depth of the path Signed-off-by: Robin Appelman <robin@icewind.nl>
* move log constants to ILoggerArthur Schiwon2018-04-262-4/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix testsRoeland Jago Douma2018-04-041-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add pathcacheRoeland Jago Douma2018-04-041-4/+19
| | | | | | | * If we find the mountpoint for a path cache it * If we modify the mount points empty the pathCache Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Comparing stringlength is cheaper than strposRoeland Jago Douma2018-04-041-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cache the $foundMountPointLengthRoeland Jago Douma2018-04-041-1/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* InspectionsRoeland Jago Douma2018-04-041-8/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make the MountManager strictRoeland Jago Douma2018-04-041-13/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* better error message on catalog errorRobin Appelman2018-02-081-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use fallback path if data dir is not available for Storage/Local.phpMorris Jobke2018-01-181-1/+1
| | | | | | | Found while testing strict types for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de> Signed-off-by: Robin Appelman <robin@icewind.nl>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* also use configured 'cache_path' for new chunkingRobin Appelman2017-10-111-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow apps to set custom mount typesRobin Appelman2017-04-281-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Nuke the legacy storage fallback from orbitVincent Petry2016-12-231-3/+0
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Improve isMounted to handle primary storage object storeRobin Appelman2016-11-161-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow setting a maximun number of buckets for multibucketRobin Appelman2016-11-021-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* cache root id in mountpointRobin Appelman2016-08-251-1/+5
|
* prevent infinite recursion while getting storage from mountRobin Appelman2016-08-231-8/+10
|
* get shared storage storage id without setting up the storageRobin Appelman2016-08-091-0/+7
|
* Update with robinJoas Schilling2016-07-216-6/+6
|
* Fix othersJoas Schilling2016-07-216-7/+14
|
* Save the files external mount id in the mount cache tableRobin Appelman2016-07-131-1/+11
|
* normalize path in getInternalPathGeorg Ehrke2016-06-021-0/+1
|
* Update license headersLukas Reschke2016-05-263-2/+3
|
* Store user bucket in preferencesRoeland Jago Douma2016-05-231-8/+16
|
* Fix NameRoeland Jago Douma2016-05-231-4/+4
|
* Allow multibucket in objectstoreRoeland Jago Douma2016-05-231-2/+55
|
* use mount providers to setup home storages (#24567)Robin Appelman2016-05-172-0/+119
|
* Move lonely file from \OC\Files to PSR-4Roeland Jago Douma2016-05-011-0/+69
| | | | Conflicting PR probabaly caused this
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-243-0/+460