Skip to content

add method to create a node from cache entry + mountpoint - #40478

Merged
skjnldsv merged 1 commit into
masterfrom
node-from-entry
Oct 18, 2023
Merged

add method to create a node from cache entry + mountpoint#40478
skjnldsv merged 1 commit into
masterfrom
node-from-entry

Conversation

@icewind1991

@icewind1991icewind1991 commented Sep 18, 2023

Copy link
Copy Markdown
Member

There are cases[1] where we need an INode but we only have the cache entry and mountpoint.

We can construct the needed "higher" classes from that data but the process is somewhat involved and uses a number of internal APIs. By exposing the functionality in the public API we can make it easy for apps to do.

@icewind1991icewind1991 added the 3. to review Waiting for reviews label Sep 18, 2023
@icewind1991icewind1991 added this to the Nextcloud 28 milestone Sep 18, 2023
@icewind1991
icewind1991 requested review from a team, ArtificialOwl, nfebe and sorbaugh and removed request for a teamSeptember 18, 2023 13:11
Comment threadlib/private/Files/Node/Root.php Fixed
Signed-off-by: Robin Appelman <robin@icewind.nl>
@susnuxsusnux added enhancement 4. to release Ready to be released and/or waiting for tests to finish php Pull requests that update Php code and removed 3. to review Waiting for reviews labels Oct 18, 2023
@skjnldsv
skjnldsv merged commit 8089348 into masterOct 18, 2023
@skjnldsv
skjnldsv deleted the node-from-entry branch October 18, 2023 08:44
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishenhancementphpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@icewind1991@nickvergessen@github-advanced-security@come-nc@susnux@skjnldsv