mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-06-19 12:34:17 +00:00
Implement islink, readlink and realpath using Win32 api
Change-Id: I18452cbb32d24db73601ad10485dbe6bb278731c
This commit is contained in:
@ -498,7 +498,7 @@ later is required to fix a server side protocol bug.
|
||||
dirs_to_remove += [os.path.join(root, d) for d in dirs
|
||||
if os.path.join(root, d) not in dirs_to_remove]
|
||||
for d in reversed(dirs_to_remove):
|
||||
if os.path.islink(d):
|
||||
if platform_utils.islink(d):
|
||||
try:
|
||||
os.remove(d)
|
||||
except OSError:
|
||||
|
Reference in New Issue
Block a user