-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified the parent-path-finding logic to be strictly lexical.
We no longer query the filesystem to check if each of the parent paths exist, which improves efficiency and avoids unnecessary failures when a parent path cannot be listed (e.g., due to execute-only permissions on a directory). Checks for an existing directory have been moved into the list* functions themselves, which is arguably a more appropriate place for them anyway. This change means that a user can now use the /list/files endpoint to list files through a symlinked directory inside a registered directory. Technically, this is inconsistent with our policy of not traversing symlinked directories, but if the user attempts to do so, that's their problem, not ours.
- Loading branch information
Showing
5 changed files
with
41 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters