(string $path, int $depth)
| 415 | } |
| 416 | |
| 417 | private function propFind(string $path, int $depth): array |
| 418 | { |
| 419 | $url = $this->buildUrlForPath($path); |
| 420 | if ($url === '') { |
| 421 | return []; |
| 422 | } |
| 423 | try { |
| 424 | return $this->client->propFind($url, [ |
| 425 | '{DAV:}displayname', |
| 426 | '{DAV:}resourcetype', |
| 427 | '{DAV:}getcontentlength', |
| 428 | '{DAV:}getlastmodified', |
| 429 | ], $depth); |
| 430 | } catch (Throwable $e) { |
| 431 | return []; |
| 432 | } |
| 433 | } |
| 434 | |
| 435 | private function getListCache(string $rel): ?array |
| 436 | { |
no test coverage detected