lib/Service/ExternalFilesService.php 1 location
|
@@ 223-232 (lines=10) @@
|
| 220 |
|
* @return ExternalMount |
| 221 |
|
* @throws FileIsNotIndexableException |
| 222 |
|
*/ |
| 223 |
|
private function getExternalMount(Node $file) { |
| 224 |
|
|
| 225 |
|
foreach ($this->externalMounts as $mount) { |
| 226 |
|
if (strpos($file->getPath(), $mount->getPath()) === 0) { |
| 227 |
|
return $mount; |
| 228 |
|
} |
| 229 |
|
} |
| 230 |
|
|
| 231 |
|
throw new FileIsNotIndexableException(); |
| 232 |
|
} |
| 233 |
|
|
| 234 |
|
|
| 235 |
|
/** |
lib/Service/GroupFoldersService.php 1 location
|
@@ 204-214 (lines=11) @@
|
| 201 |
|
* @return GroupFolderMount |
| 202 |
|
* @throws FileIsNotIndexableException |
| 203 |
|
*/ |
| 204 |
|
private function getGroupFolderMount(Node $file) { |
| 205 |
|
|
| 206 |
|
foreach ($this->groupFolders as $mount) { |
| 207 |
|
if (strpos($file->getPath(), $mount->getPath()) === 0) { |
| 208 |
|
return $mount; |
| 209 |
|
} |
| 210 |
|
} |
| 211 |
|
|
| 212 |
|
throw new FileIsNotIndexableException(); |
| 213 |
|
|
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
|
| 217 |
|
/** |