MCPcopy Create free account
hub / github.com/Rello/analytics / import

Method import

lib/Controller/ReportController.php:251–255  ·  view source on GitHub ↗

* Import report * * @param string|null $path * @param string|null $raw * @return DataResponse * @throws \OCP\Files\NotFoundException * @throws \OCP\Files\NotPermittedException */

(?string $path = null, ?string $raw = null)

Source from the content-addressed store, hash-verified

249 * @throws \OCP\Files\NotPermittedException
250 */
251 #[NoAdminRequired]
252 public function import(?string $path = null, ?string $raw = null)
253 {
254 return new DataResponse($this->ReportService->import($path, $raw));
255 }
256}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected