-
Notifications
You must be signed in to change notification settings - Fork 120
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
SELECT query does not print folders from recursive paths. #37
Comments
@fubarhouse, thanks for the issue! I agree, relative path definitely makes more sense than just the filename (note that you can get the full path using the Kind of limited on time right now, so I'm marking this as |
@kshvmdn I've got a one-liner which switches the name out for the path in the walk function. I've no idea how you want to control this - always on vs optional on, flags etc. But, for the argument of functionality, I would expect it to always provide the path, rather than the name.
So, this one line makes it do what I would expect it to. If you'd like this submitted as a PR let me know - but it is one line which might cause a difference in behaviour elsewhere for you. |
@fubarhouse, sorry for the late response – just got the chance to play around with this. This solution works in the most basic case, but it breaks when using path-modifiers on the Nevertheless, feel free to create the PR, I can merge it to an off-branch and then make changes there. Thanks for taking a look! |
PR #38 has been created. |
A simple SELECT query should be able to identify the relative path of a file, which should include its folder name.
Example:
prints:
instead of:
The text was updated successfully, but these errors were encountered: