bt2qbt/test
Alexey Kostin 0b305dd2f9
Fix windows prohibited simbols (#46)
* handle windows fs prohibited symbols

* fix abs path symbols replace

* more readable code

* better replacer
new replacer function with tests

* return zero files from torrent info file tree if there are single file torrent

* don't harm torrent file function, handle filelist size in another places

* more accurate handling single files

* use mapped files for directories or torrent names with space on ending

* normalize backslases too

* Don't normalize cesu8\prohibited symbols on torrent name if torrent file contain several files. But normalize for single file torrent and normalize last space character for both

* Better torrent name and torrent file paths handling
helpers
tests

* move torrents functions to torrents functions
cache single flag

* update README.md

* fix deprecation warnings
2023-12-05 21:17:43 +03:00
..
data Fix windows prohibited simbols (#46) 2023-12-05 21:17:43 +03:00
categories_existing.json Modern qBittorrent doesn't save tags to config file. It uses categories.json instead. 2022-04-03 19:18:10 +03:00
README.md Full refactor. Introduce tests (#35) 2022-03-30 02:30:29 +03:00

if you use windows for tests, you will have to run tests in this way:

 go test -tags forceposix