()
| 1211 | } |
| 1212 | |
| 1213 | private static function getCopyTreeLimits(): array |
| 1214 | { |
| 1215 | $maxFiles = self::crossSourceLimit('FR_XCOPY_MAX_FILES', 5000); |
| 1216 | $maxBytes = self::crossSourceLimit('FR_XCOPY_MAX_BYTES', 5 * 1024 * 1024 * 1024); |
| 1217 | $maxDepth = self::crossSourceLimit('FR_XCOPY_MAX_DEPTH', 15); |
| 1218 | return [$maxFiles, $maxBytes, $maxDepth]; |
| 1219 | } |
| 1220 | |
| 1221 | private static function scanFolderTreeForCopy( |
| 1222 | StorageAdapterInterface $storage, |
no test coverage detected