Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jun 20, 2024

If we don't care which node we get by id we can use the optimized/cached getFirstNodeById instead. In addition I noticed we can skip getting mounts for a given file id to determine the user if we pass it upfront to our internal helper to get the file with the highest permission.

… avoid fetching mountpoints

Signed-off-by: Julius Härtl <[email protected]>
Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants