Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bjoroen
Copy link
Contributor

@bjoroen bjoroen commented May 22, 2023

I'm submitting a

  • bug fix
  • feature
  • documentation addition

What is the current behavior?

There is today no way of deleting files and folders.

What is the expected behavior?

You can now remove files and directories using the action: file.remove or directory/dir.remove.

Let me know if there is anything you want to be done in a different way, and ill fix it up.

What is the motivation / use case for changing the behavior?

#268

Please tell us about your environment:

Version (0.8.4):
Operating system: Fedora 37

@martintc
Copy link
Member

martintc commented May 30, 2023

Just run a quick cargo fmt --all and push that to this branch and it should be good to go. Otherwise, it all looks good. Test pass. Good work!

@bjoroen
Copy link
Contributor Author

bjoroen commented May 30, 2023

Thank you for looking at this pr. I just ran fmt --all and pushed it.

@codecov-commenter
Copy link

codecov-commenter commented Oct 15, 2023

Codecov Report

Attention: 35 lines in your changes are missing coverage. Please review.

Comparison is base (8730e03) 28.03% compared to head (e6c5615) 28.59%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #332      +/-   ##
==========================================
+ Coverage   28.03%   28.59%   +0.55%     
==========================================
  Files          80       84       +4     
  Lines        2197     2263      +66     
==========================================
+ Hits          616      647      +31     
- Misses       1581     1616      +35     
Files Coverage Δ
lib/src/actions/directory/mod.rs 0.00% <ø> (ø)
lib/src/actions/file/mod.rs 21.21% <ø> (ø)
lib/src/actions/mod.rs 0.00% <0.00%> (ø)
lib/src/atoms/directory/remove.rs 77.27% <77.27%> (ø)
lib/src/actions/directory/remove.rs 0.00% <0.00%> (ø)
lib/src/actions/file/remove.rs 0.00% <0.00%> (ø)
lib/src/atoms/file/remove.rs 53.84% <53.84%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bjoroen
Copy link
Contributor Author

bjoroen commented Oct 15, 2023

Feel free to let me know if there is anything I need to do to get this branch merged, and I'll get it done.

@martintc martintc merged commit 1c2ada0 into comtrya:main Oct 15, 2023
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.

3 participants