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

Support AST parsing with -trimpath flag #4

Merged
merged 2 commits into from
Jan 27, 2024
Merged

Support AST parsing with -trimpath flag #4

merged 2 commits into from
Jan 27, 2024

Conversation

rliebz
Copy link
Owner

@rliebz rliebz commented Jan 27, 2024

Checking the trimmed path to see if some suffix is a valid filepath is probably not a perfect system, but it should be able to work at least some of the time, which is better than nothing.

Checking the trimmed path to see if some suffix is a valid filepath is
probably not a perfect system, but it should be able to work at least
some of the time, which is better than nothing.

Also test on windows, because managing filepaths is hard.
It turns out not every machine has enough juice to get an extra
goroutine running in the 10ms I was giving it.
@rliebz rliebz merged commit e335ae5 into main Jan 27, 2024
7 checks passed
@rliebz rliebz deleted the trimpath branch January 27, 2024 16:07
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