send2trash/send2trash
Mickaël Schoentgen 020d05979d Windows: Workaround for long paths (#23)
By using the short path version of a file, we can
manage to move long paths to the trash.

Limitations:
1/ If the final short path is longer than what
    `SHFileOperationW` can handle, it will fail
2/ Still not able to trash long path from another
    drive, ie: trying to delete C:\temp\foo.txt
    while the script is running from D:\trash.py
2018-02-16 09:07:05 -05:00
..
__init__.py Define TrashPermissionError (#21) 2018-02-06 17:28:47 -05:00
compat.py Fix newly-introduced crash under Windows 2017-08-07 22:51:37 -04:00
exceptions.py Define TrashPermissionError (#21) 2018-02-06 17:28:47 -05:00
plat_gio.py Update copyright 2017-08-03 20:52:19 -04:00
plat_osx.py Update copyright 2017-08-03 20:52:19 -04:00
plat_other.py Define TrashPermissionError (#21) 2018-02-06 17:28:47 -05:00
plat_win.py Windows: Workaround for long paths (#23) 2018-02-16 09:07:05 -05:00