şunun yansıması
https://github.com/arsenetar/send2trash.git
eşitlendi 2025-09-11 18:08:16 +00:00
Fix issue with paths starting with \\?\
- Strip these characters off if present just like old implementation
Bu işleme şunda yer alıyor:
ebeveyn
7abc048836
işleme
629c2403e9
@ -25,6 +25,8 @@ try:
|
||||
]
|
||||
# convert to full paths
|
||||
path = [op.abspath(item) if not op.isabs(item) else item for item in path]
|
||||
# remove the leading \\?\ if present
|
||||
path = [item[4:] for item in path if item.startswith("\\\\?\\")]
|
||||
# create instance of file operation object
|
||||
fileop = pythoncom.CoCreateInstance(
|
||||
shell.CLSID_FileOperation,
|
||||
|
Yükleniyor…
x
Yeni konuda referans
Bir kullanıcı engelle