bt2qbt/pkg/torrentStructures
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
..
functions_test.go Fix windows prohibited simbols (#46) 2023-12-05 21:17:43 +03:00
functions.go Fix windows prohibited simbols (#46) 2023-12-05 21:17:43 +03:00
torrent.go Fix windows prohibited simbols (#46) 2023-12-05 21:17:43 +03:00