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

Simplistic file filtering - SPIKE DO NOT MERGE #10

Closed
wants to merge 1 commit into from

Conversation

dgou
Copy link
Contributor

@dgou dgou commented Jul 8, 2023

Super spikey, but I had a brain storm.
@peterkaminski see the comments in this stand-alone file for how to run it.

I almost did a gist instead, but I wanted easier tracking of comments/changes from draft PR.

Include: plugins/buttons
Exclude: plugins/buttons/styles.css
Include: plugins/tag-wrangler
'''
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This sample list is to show exluding a tree and then including parts (plugins/buttons) and then excluding parts of that. For a real set of directives, there is no point in excluding plugins and then re-including buttons and tag-wrangler, those would just be straight up includes.

This is of course based on my own test vault.
If we decide to go this route, I would add a self-test for this part of the code.

@dgou
Copy link
Contributor Author

dgou commented Jul 9, 2023

This code has been effectively merged into and adapted to #12 so closing this.

@dgou dgou closed this Jul 9, 2023
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