(string $shareRootKey, string $subPath)
| 2493 | } |
| 2494 | |
| 2495 | private static function buildSharedFolderKey(string $shareRootKey, string $subPath): string |
| 2496 | { |
| 2497 | if ($shareRootKey === '' || strtolower($shareRootKey) === 'root') { |
| 2498 | return $subPath === '' ? 'root' : $subPath; |
| 2499 | } |
| 2500 | return $subPath === '' ? $shareRootKey : ($shareRootKey . '/' . $subPath); |
| 2501 | } |
| 2502 | |
| 2503 | private static function extractStatMtime(array $stat): ?int |
| 2504 | { |
no outgoing calls
no test coverage detected