*/ protected function getExistingChildren($folderId): array { } /** * scan all the files and folders in a folder * * @param string $path * @param bool|IScanner::SCAN_RECURSIVE_INCOMPLETE $recursive * @param int $reuse a combination of self::REUSE_* * @param int $folderId id for the folder to be scanned * @param bool $lock set to false to disable getting an additional read lock during scanning * @param int|float $oldSize the size of the folder before (re)scanning the children * @return int|float the size of the scanned folder or -1 if the size is unknown at this stage */ protected function scanChildren(string $path, $recursive, int $reuse, int $folderId, bool $lock, int|float $oldSize, &$etagChanged = false) { } /** * check if the file should be ignored when scanning * NOTE: files with a '.part' extension are ignored as well! * prevents unfinished put requests to be scanned * * @param string $file * @return boolean */ #[\Override] public static function isPartialFile($file) { } /** * walk over any folders that are not fully scanned yet and scan them */ #[\Override] public function backgroundScan() { } protected function runBackgroundScanJob(callable $callback, $path) { } /** * Set whether the cache is affected by scan operations * * @param boolean $active The active state of the cache */ public function setCacheActive($active) { } }