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

add quotes and escapes for necessary filenames #746

Merged
merged 7 commits into from
Sep 22, 2022

Conversation

merelymyself
Copy link
Contributor

@merelymyself merelymyself commented Sep 20, 2022

Fixes #660.


TODO

  • Use cargo fmt
  • Add necessary tests
  • Add changelog entry
  • Update default config/theme in README (if applicable)
  • Update man page at lsd/doc/lsd.md (if applicable)

@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2022

Codecov Report

Merging #746 (6237180) into master (2921543) will increase coverage by 0.02%.
The diff coverage is 91.48%.

@@            Coverage Diff             @@
##           master     #746      +/-   ##
==========================================
+ Coverage   86.99%   87.01%   +0.02%     
==========================================
  Files          41       41              
  Lines        4589     4628      +39     
==========================================
+ Hits         3992     4027      +35     
- Misses        597      601       +4     
Impacted Files Coverage Δ
src/color/theme.rs 62.57% <ø> (ø)
src/meta/name.rs 90.37% <90.00%> (-0.10%) ⬇️
src/display.rs 84.15% <100.00%> (ø)
src/flags/symlink_arrow.rs 96.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@meain meain left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for working on this.

@meain meain self-requested a review September 22, 2022 04:01
Copy link
Member

@meain meain left a comment

Choose a reason for hiding this comment

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

Code looks good, but there seems to be some possible improvements suggested by clippy. Could you look into them:

I had an old version locally, woops. This should be good, will merge it in as soon as the CI passes.

@merelymyself
Copy link
Contributor Author

I think those have already been fixed with the latest commits

@meain meain merged commit 586e1c9 into lsd-rs:master Sep 22, 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.

File names with spaces are not quoted
3 participants