Skip to content

Fix filtering of import-tree and explicit files in path - #42

Merged
vic merged 1 commit into
denful:mainfrom
jbgi:fix-file-root-relative-path
Sep 3, 2026
Merged

Fix filtering of import-tree and explicit files in path#42
vic merged 1 commit into
denful:mainfrom
jbgi:fix-file-root-relative-path

Conversation

@jbgi

@jbgi jbgi commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Root files (file explicitely listed in roots) where
filtered based on their full path, so they could
easily be filtered out if located in a 'hidden'
directory.
Fix this by always including a file if its listed in roots.

For import-tree in path, use the foreign import-tree api for filtering
as this is the only way to handle relative path sanely.

Globally simplified the filtering pass, probably improving performance.

@jbgi
jbgi force-pushed the fix-file-root-relative-path branch from 71fa566 to 740827e Compare September 2, 2026 15:46
Root files (file explicitely listed in roots) where
filtered based on their full path, so they could
easily be filtered out if located in a 'hidden'
directory.
Fix this by always including a file if its listed in roots.

For import-tree in path, use the foreign import-tree api for filtering
as this is the only way to handle relative path sanely.

Globally simplified the filtering pass, probably improving performance.
@jbgi
jbgi force-pushed the fix-file-root-relative-path branch from 740827e to 5bb067e Compare September 3, 2026 09:03
@jbgi jbgi changed the title Fix: allow explicit load of file in hidden directory. Fix filtering of import-tree and explicit files in path Sep 3, 2026
@vic
vic merged commit eb1b52e into denful:main Sep 3, 2026
2 checks passed
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