summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Mount/Manager.php
Commit message (Collapse)AuthorAgeFilesLines
* Move CappedMemoryCache to OCPCarl Schwan2022-07-141-1/+1
| | | | | | | | This is an helpful helper that should be used in more place than just server and this is already the case with groupfodlers, deck, user_oidc and more using it, so let's make it public Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* don't do a full setup for `findByStorageId`Robin Appelman2022-04-041-1/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow getting mounts by providersRobin Appelman2022-04-041-0/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* setup only relevant mounts when possibleRobin Appelman2022-03-241-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* type fixesRobin Appelman2022-03-041-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* simplify setup of circular SetupManager<->ManagerRobin Appelman2022-03-041-11/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add template annotations to CappedMemoryCacheRobin Appelman2022-03-041-6/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move logic to decide what to setup to setupmanagerRobin Appelman2022-03-041-20/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move teardown logic to SetupManagerRobin Appelman2022-03-041-3/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* start moving filesystem setup logic to it's own placeRobin Appelman2022-03-041-4/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more type hints for ICachedMountInfo and IMountManagerRobin Appelman2022-03-041-8/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Don't set up full filesystem to check for certificatesJoas Schilling2022-02-261-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* only setup part of the filesystem for appdata requestsRobin Appelman2022-02-091-2/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headersChristoph Wurst2019-12-051-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* 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>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-241-0/+165