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(import): traling slash path handling #41

Merged
merged 2 commits into from
Jan 17, 2023

Conversation

ludviglundgren
Copy link
Owner

Fix the handling of traling slash and missing trailing slash for import and export paths.

  • Use path.Join for all paths
  • Lots of cleanup done

Fixes #38

@ludviglundgren ludviglundgren added the enhancement New feature or request label Jan 17, 2023
@ludviglundgren ludviglundgren merged commit 868f3d2 into develop Jan 17, 2023
@ludviglundgren ludviglundgren deleted the fix/import-dir-trailing-slash branch January 17, 2023 19:11
ludviglundgren added a commit that referenced this pull request Jan 17, 2023
* feat(export): export torrents by category

* feat: use pipe as replace separator

* fix(import): traling slash path handling (#41)

* chore: update go mod version

* fix: trailing slash in paths

* feat(export): export torrents by category

* feat: use pipe as replace separator

* chore: improve error handling and logs

* feat: check both torrent and fastresume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using import requires both --source-dir --qbit-dir to have trailing slash
1 participant