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

Refactor the run command's search for files. #78

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

warpfork
Copy link
Collaborator

It now searches for everything up-front.

My main goal with this was to get towards having a list of what all we're going to do, so that we can make progress reports about how far along we are. The second half of that remains a long road ahead, but the first part is now significantly closer.

It's now detected faster if you typo a filename, rather than potentially being noticed only after lots of other work has been done, which is a mild improvement.

It also supports more than one "..." pattern now, although that was sort of a target-of-opportunity thing.

Overall, this isn't a huge change itself, but cleans things up and separates some concerns nicely, and prepares they way for more.

Bumps the go-fsx version, to get some more convenience functions. (I'm also starting to slowly increase our use of FS objects.)

It now searches for everything up-front.

My main goal with this was to get towards having a list of what all
we're going to do, so that we can make progress reports about how far
along we are.  The second half of that remains a long road ahead,
but the first part is now significantly closer.

It's now detected faster if you typo a filename, rather than
potentially being noticed only after lots of other work has been done,
which is a mild improvement.

It also supports more than one "..." pattern now, although that was
sort of a target-of-opportunity thing.

Overall, this isn't a huge change itself, but cleans things up and
separates some concerns nicely, and prepares they way for more.

Bumps the go-fsx version, to get some more convenience functions.
(I'm also starting to slowly increase our use of FS objects.)
@warpfork warpfork merged commit 73622a0 into master Aug 24, 2023
4 checks passed
@warpfork warpfork deleted the refactor-run-cmd-file-search branch August 24, 2023 19:55
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.

None yet

1 participant