Skip to content

Conversation

@icewind1991
Copy link
Member

Backport of #50324 without the interface changes

if (!(str_starts_with($storageId, 'home::') || str_starts_with($storageId, 'object::user'))) {
$cache = $this->getCache();
$this->watcher = parent::getWatcher($path, $storage);
if ($cache instanceof Cache && $this->watcher instanceof Watcher) {

Check notice

Code scanning / Psalm

RedundantConditionGivenDocblockType Note

Docblock-defined type OC\Files\Cache\Watcher for $this->watcher is always OC\Files\Cache\Watcher
@icewind1991 icewind1991 changed the title [30] Shared cache watcher update 30 [30] don't use cached root info from shared cache if the watcher has detected an update Feb 7, 2025
@icewind1991
Copy link
Member Author

#50761

@solracsf solracsf deleted the shared-cache-watcher-update-30 branch February 12, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants