mirror of
https://github.com/9001/copyparty.git
synced 2026-01-16 10:09:08 +10:00
optimize rmtree on windows
This commit is contained in:
@@ -1191,6 +1191,9 @@ def sendfile_kern(lower, upper, f, s):
|
||||
|
||||
|
||||
def statdir(logger, scandir, lstat, top):
|
||||
if lstat and ANYWIN:
|
||||
lstat = False
|
||||
|
||||
if lstat and not os.supports_follow_symlinks:
|
||||
scandir = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user