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

Fix #20, search by file name #22

Merged
merged 2 commits into from
Nov 13, 2022
Merged

Conversation

TheAwiteb
Copy link
Contributor

Fixes #20

@ParthJadhav
Copy link
Owner

Hey @TheAwiteb , This returns only file name... We need to return the Path of the given file 😄

@TheAwiteb
Copy link
Contributor Author

Yes, i see, how i forget this 😅

@ParthJadhav
Copy link
Owner

Haha, No worries

Copy link
Owner

@ParthJadhav ParthJadhav left a comment

Choose a reason for hiding this comment

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

Will this work with directories? Or only files ?

@TheAwiteb
Copy link
Contributor Author

Will this work with directories? Or only files ?

Both

@ParthJadhav
Copy link
Owner

Oh okay, Let me test this once and then we can merge this

@ParthJadhav
Copy link
Owner

Do you have any ideas about this one ?

#23

I tried using .sort_by_file_name() in the walkdir builder but it doesn't work on parallel walker. And if we were to walk on single thread then it would turn out to be slow...

@ParthJadhav
Copy link
Owner

Awesome @TheAwiteb , Works as expected !! Merging this

@TheAwiteb
Copy link
Contributor Author

Do you have any ideas about this one ?

I'm not really good with sorting, sorry

@ParthJadhav
Copy link
Owner

Do you have any ideas about this one ?

I'm not really good with sorting, sorry

No problem, I'll investigate further

@ParthJadhav ParthJadhav merged commit 0493be8 into ParthJadhav:master Nov 13, 2022
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.

[Bug]: Search input includes location to search for
2 participants