mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
optimize rmtree on windows
This commit is contained in:
parent
806fac1742
commit
79097bb43c
|
@ -1191,6 +1191,9 @@ def sendfile_kern(lower, upper, f, s):
|
||||||
|
|
||||||
|
|
||||||
def statdir(logger, scandir, lstat, top):
|
def statdir(logger, scandir, lstat, top):
|
||||||
|
if lstat and ANYWIN:
|
||||||
|
lstat = False
|
||||||
|
|
||||||
if lstat and not os.supports_follow_symlinks:
|
if lstat and not os.supports_follow_symlinks:
|
||||||
scandir = False
|
scandir = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue