Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement directory mapping API feature #110

Merged
merged 12 commits into from
Sep 8, 2024
Merged

Conversation

CogentRedTester
Copy link
Owner

@CogentRedTester CogentRedTester commented Sep 1, 2024

This feature allows for mappings to be created between an external path, and a path within file-browser's file tree. It is intended to allow external paths to be resolved to a single canonical location within the file tree.

The only use of this feature within file-browser is to resolve the bd://, dvd://, and cdda:// paths to their respective device paths.

This feature may be added as a documented part of the addon API, but is currently experimental. The name of the feature may also change.

Before being merged the specific locations where a mapping is converted into it's canonical path should be documented.

This feature allows for mappings to be created between paths.

The intention is that this can be used to resolve external paths
to a cannonical location within file-browser's file tree.

Upcoming commits will implement this translation at key points where
paths are received from external sources.
@CogentRedTester CogentRedTester changed the title Implement directory aliases Implement directory mapping API feature Sep 7, 2024
This may be reverted in the future depending on how the mappings are
used.
For now mappings will not be added to the documented addon API due to
the experimental nature of the feature.
@CogentRedTester CogentRedTester merged commit d029279 into master Sep 8, 2024
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.

1 participant